Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6887 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71091 invoked by uid 1010); 8 Jan 2004 20:03:00 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 71067 invoked from network); 8 Jan 2004 20:03:00 -0000 Received: from unknown (HELO smtp1.pp.htv.fi) (212.90.64.119) by pb1.pair.com with SMTP; 8 Jan 2004 20:03:00 -0000 Received: from localhost.localdomain (cs181008.pp.htv.fi [213.243.181.8]) by smtp1.pp.htv.fi (Postfix) with ESMTP id 48E157FDE2; Thu, 8 Jan 2004 22:02:59 +0200 (EET) Received: from localhost (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.10/8.12.10) with ESMTP id i08K2wnN005949; Thu, 8 Jan 2004 22:02:58 +0200 Date: Thu, 8 Jan 2004 22:02:58 +0200 (EET) Reply-To: Jani Taskinen To: Armel FAUVEAU Cc: internals@lists.php.net In-Reply-To: <20040108195225.52911.qmail@pb1.pair.com> Message-ID: References: <20040108173747.60938.qmail@pb1.pair.com> <20040108195225.52911.qmail@pb1.pair.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] PHP4 vs PHP5 Beta 3 : memory usage From: sniper@iki.fi (Jani Taskinen) On Thu, 8 Jan 2004, Armel FAUVEAU wrote: >Hi Jani, > >Thank's for your response. > >> I tried your script and couldn't reproduce such big numbers. >> Plus the memory usage leveled to 54152 bytes after some requests >> to each apache child. This was with using the latest CVS checkout >> of PHP 5. > >Ok, i have make a test with the lastest CVS (Built On: Jan 08, 2004 18:30 >GMT). And i obtain more logical and stable results (53 464 bytes). Note >that, there are sometimes some changes. For exemple, here is a piece of the >log sequence that i obtain : > >... >53 464 bytes >53 464 bytes >50 440 bytes >51 024 bytes >53 464 bytes >... > >I don't really understand why that can evolve like that. With PHP4, results >are always the same (and that seems normal :p). Your apache is configured to kill childs after certain amount of requests so of course it makes this look like 'random'. There's nothing wrong here. --Jani