#34779 [NEW]: Default value of "output_buffering" (4096) causes memory overflow on Windows XP
| From: | jan dot lachman at stringdata dot cz | Date: | Fri, 07 Oct 2005 12:53:27 +0000 |
| Subject: | #34779 [NEW]: Default value of "output_buffering" (4096) causes memory overflow on Windows XP | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-86190@lists.php.net to get a copy of this message | ||
From: jan dot lachman at stringdata dot cz
Operating system: WindowsXP
PHP version: 5.1.0RC1
PHP Bug Type: Performance problem
Bug description: Default value of "output_buffering" (4096) causes memory overflow on
Windows XP
Description:
------------
On MS Windows XP Pro (SP2) and Apache 2.0.5.4 has PHP(php5apache2.dll
module) a serious problem with value output_buffering = 4096. When I start
the web-server, then I run benchmarking programs (like siege or ab.exe or
OpenSTA) and I try to access a small script that includes phpinfo (with
50-100 simulated user connections), I get memory load about 10MB within
!one! minute (and growing) - until the RAM (715MB) is available. Then
total crash follows after this.
After two-days testing, we found (with my team-mate) little way to solve
this problem. If we set output_buffering = On , it's working perfectly.
--
Edit bug report at http://bugs.php.net/?id=34779&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34779&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34779&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34779&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34779&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34779&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34779&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34779&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34779&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34779&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34779&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34779&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34779&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34779&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34779&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34779&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34779&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34779&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34779&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34779&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34779&r=mysqlcfg