Re: info needed regarding TSRM thread local storage

From: Date: Thu, 09 Sep 2004 16:00:38 +0000
Subject: Re: info needed regarding TSRM thread local storage
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-12672@lists.php.net to get a copy of this message
Hi Marcus, That is fine. The leak of 2,46,888 I was getting when I had ldap, mysql and xml extension enabled. After Disabling them and without MBO_0 I had a leak of 87744 bytes. After Disabling them and with MBO_0 I had a leak of 51,912 bytes. Anyway this figures are as given by NetWare System Console which might be bit higher that actual called with malloc or calloc or realloc. With regards Kamesh Jayachandran On Thu, 9 Sep 2004 17:05:32 +0200, "Marcus Boerger" <helly@php.net> said: > 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 >

« previous php.internals (#12672) next »