Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12669 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36050 invoked by uid 1010); 9 Sep 2004 15:08:37 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 27351 invoked from network); 9 Sep 2004 15:05:36 -0000 Received: from unknown (HELO jan.prima.de) (83.97.50.139) by pb1.pair.com with SMTP; 9 Sep 2004 15:05:36 -0000 Received: from BAUMBART (p508EB6E5.dip.t-dialin.net [::ffff:80.142.182.229]) (IDENT: HydraIRC, AUTH: LOGIN tobi) by jan.prima.de with esmtp; Thu, 09 Sep 2004 15:05:34 +0000 Date: Thu, 9 Sep 2004 17:05:32 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <546797342.20040909170532@marcus-boerger.de> To: Kamesh Jayachandran CC: internals@lists.php.net In-Reply-To: <1094740644.16832.204022273@webmail.messagingengine.com> References: <1094723466.25363.204005102@webmail.messagingengine.com> <414068F4.1080503@hristov.com> <1094740644.16832.204022273@webmail.messagingengine.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] info needed regarding TSRM thread local storage From: helly@php.net (Marcus Boerger) 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