Gmane
From: Christof Meerwald <cmeerw <at> cmeerw.org>
Subject: Re: virtual memory issue and gmysql
Newsgroups: gmane.network.dns.powerdns.devel
Date: 2007-10-03 20:09:30 GMT (1 year, 1 week, 1 day, 4 hours and 21 minutes ago)
On Wed, 3 Oct 2007 21:50:16 +0200, Christof Meerwald wrote:
> So I strongly suspect that threads are being created but never
> joined/detached.

I have now also confirmed with a simple test-case that Linux (NPTL) only
cleans up the thread stack of terminated threads if they have been detached
or joined (one could, of course, argue that this implementation detail could
be improved as there is no need to keep the thread stack around for zombie
threads).

Christof

-- 

http://cmeerw.org                              sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org                   xmpp:cmeerw at cmeerw.org