#23455 [NEW]: Memory Leak

From: Date: Fri, 02 May 2003 21:11:03 +0000
Subject: #23455 [NEW]: Memory Leak
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38956@lists.php.net to get a copy of this message
From: adam at planetzerep dot com Operating system: Windows 2000 PHP version: 4.3.2RC2 PHP Bug Type: Unknown/Other Function Bug description: Memory Leak 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 bug report at http://bugs.php.net/?id=23455&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23455&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23455&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23455&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23455&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23455&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23455&r=support Expected behavior: http://bugs.php.net/fix.php?id=23455&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23455&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23455&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23455&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23455&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23455&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23455&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23455&r=gnused

« previous php.bugs (#38956) next »