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.

Correct me if I am wrong.

With regards
Kamesh Jayachandran

On Thu, 09 Sep 2004 16:30:12 +0200, "Andrey Hristov" <[EMAIL PROTECTED]>
said:
>   Hi,
> probably MBO_0 stands for MarcusBOerger_0 . I am not sure whether this
> was somewehere in 
> the coding standards
> document, but this means that the programmer has commented the code by
> using the 
> preprocessor. The programmer
> has to put his name and a suffix _0 . Usually code commented this way is
> quite 
> experimental and can lead to problems,
> but was left for some reason.
> It looks like this.
> 
> Andrey
> 
> Kamesh Jayachandran wrote:
> > Hi All,
> > what this MBO_0 mean?
> > I could see the MBO_0 ifdefs removed in 1.62 version of TSRM.c whether
> > this change has got anything to do with memory leak fix.
> > I could see 246888 bytes of leak for each thread.
> > Even the simple <?php echo "hi";?> script causes 60 bytes of leak.
> > 
> > Where and when the thread local storage is freed?. 
> > 
> > With regards
> > Kamesh Jayachandran
> > 
> 

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to