Re: SAPI Module Leaking

From: Date: Fri, 21 Dec 2001 22:31:15 +0000
Subject: Re: SAPI Module Leaking
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-74748@lists.php.net to get a copy of this message
It sounds like there was a particular reason for writing it this way ? I am considering what effect it will have on me if I simply require that people use thread pooling, and I'm going to do some tests to see whether there's still a leak condition or if it stabilizes when I reuse them. Alex On 12/21/01 4:20 PM, "Zeev Suraski" <zeev@zend.com> wrote: > Well, it is pretty complicated to fix, even though it's been a very long > while since I touched this code so I may be wrong. As far as I recall, the > TSRM hash tables won't reuse entries that were freed by threads that > terminated. Fixing this, especially without hurting performance, may be > quite complicated. > > That said - I'm not sure it accounts for 1KB per request. There could be > leaks in other places.

« previous php.dev (#74748) next »