#23455 [Opn]: Memory Leak

From: Date: Tue, 06 May 2003 23:42:41 +0000
Subject: #23455 [Opn]: Memory Leak
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39192@lists.php.net to get a copy of this message
ID: 23455 User updated by: adam at planetzerep dot com Reported By: adam at planetzerep dot com Status: Open Bug Type: Apache2 related Operating System: Windows 2000 PHP Version: 4.3.2RC2 New Comment: This memory leak is not caused by apache "warming up" - I have left apachebench running overnight, and apache will consume all of the memory on the server. Previous Comments: ------------------------------------------------------------------------ [2003-05-05 15:07:23] moriyoshi@php.net related to bug #21283 ------------------------------------------------------------------------ [2003-05-04 23:36:19] adam at planetzerep dot com I am using the PHP win32 binary download, with no php.ini file. So, I I have not turned on any additional modules. Even if I use the recommended php.ini file, and leave all the modules commented out, there is still a memory leak. ------------------------------------------------------------------------ [2003-05-04 13:06:10] iliaa@php.net Do you have any PHP modules loaded beside the core? ------------------------------------------------------------------------ [2003-05-02 16:11:03] adam at planetzerep dot com I installed Apache 2.0.45 on Windows 2000 SP3, and run apachebench to test... 40,000 requests and no leaks. I then install PHP 4.3.2RC2 and add these lines to Apache config: LoadModule php4_module "e:/php4/sapi/php4apache2.dll" AddType application/x-httpd-php .php Restart Apache, and then create a PHP file like this: <? echo "Test"; ?> Then, re-run apachebench, memory will slowly climb as requests are processed. More and more memory is used, it doesn't go back down until you restart Apache. I didn't create a php.ini file -- all settings are at their default. PHP & Apache are binary versions. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23455&edit=1

« previous php.bugs (#39192) next »