#34779 [Opn->Fbk]: Default value of "output_buffering" (4096) causes memory overflow on Windows XP

From: Date: Fri, 07 Oct 2005 13:39:09 +0000
Subject: #34779 [Opn->Fbk]: Default value of "output_buffering" (4096) causes memory overflow on Windows XP
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-86193@lists.php.net to get a copy of this message
ID: 34779 Updated by: sniper@php.net Reported By: jan dot lachman at stringdata dot cz -Status: Open +Status: Feedback -Bug Type: Performance problem +Bug Type: Output Control Operating System: WindowsXP PHP Version: 5.1.0RC1 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2005-10-07 14:53:26] jan dot lachman at stringdata dot cz 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 this bug report at http://bugs.php.net/?id=34779&edit=1

« previous php.bugs (#86193) next »