Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12672 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29448 invoked by uid 1010); 9 Sep 2004 16:00:38 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 29424 invoked from network); 9 Sep 2004 16:00:38 -0000 Received: from unknown (HELO frontend1.messagingengine.com) (66.111.4.30) by pb1.pair.com with SMTP; 9 Sep 2004 16:00:38 -0000 Received: from web1.messagingengine.com (web1.internal [10.202.2.210]) by frontend1.messagingengine.com (Postfix) with ESMTP id DFD28C1558F; Thu, 9 Sep 2004 12:00:37 -0400 (EDT) Received: by web1.messagingengine.com (Postfix, from userid 99) id 6C63D70F; Thu, 9 Sep 2004 12:00:38 -0400 (EDT) Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.5 (F2.73; T1.001; A1.62; B3.01; Q3.01) Cc: internals@lists.php.net References: <1094723466.25363.204005102@webmail.messagingengine.com> <414068F4.1080503@hristov.com> <1094740644.16832.204022273@webmail.messagingengine.com> <546797342.20040909170532@marcus-boerger.de> In-Reply-To: <546797342.20040909170532@marcus-boerger.de> To: "Marcus Boerger" Date: Thu, 09 Sep 2004 09:00:38 -0700 X-Sasl-Enc: NQSN0nfb1V8yCFxMDKTcsQ 1094745638 Message-ID: <1094745638.24407.204029282@webmail.messagingengine.com> Subject: Re: [PHP-DEV] info needed regarding TSRM thread local storage From: kameshj@fastmail.fm ("Kamesh Jayachandran") 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" 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 >