#23455 [Fbk->Opn]: Memory Leak

From: Date: Mon, 05 May 2003 04:36:19 +0000
Subject: #23455 [Fbk->Opn]: Memory Leak
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39051@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: Feedback +Status: Open Bug Type: Apache2 related Operating System: Windows 2000 PHP Version: 4.3.2RC2 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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 (#39051) next »