Re: info needed regarding TSRM thread local storage
| From: | Marcus Boerger | Date: | Thu, 09 Sep 2004 15:05:32 +0000 |
| Subject: | Re: info needed regarding TSRM thread local storage | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-12669@lists.php.net to get a copy of this message | ||
Hello Kamesh,
Thursday, September 9, 2004, 4:37:24 PM, you wrote:
> Thanks Andrey.
> I have Apache with worker thread mpm configured.
> With this MBO_0 macro not defined I get a memory leak of 2,46,888 bytes.
> With this MBO_0 macro defined I get a memory leak of 51,912 bytes.
> If I look at the code also it seems that dtor of the resources are
> called only if MBO_0 macro is defined.
That's exactly correct. The mistake i did was using 'MBO_0' instead of
'HELLY_0'. The reason this was commented out earlier was that we were
too close to a release and decieded to live without that patch until
the next release. However your numbers above look wrong. Could you
repeat them correctly so i can see the difference between using that
code and not using it?
marcus