ID: 41713 Updated by: [EMAIL PROTECTED] Reported By: mplomer at gmx dot de -Status: Assigned +Status: Closed Bug Type: Performance problem Operating System: win32 only PHP Version: 5.2CVS-2007-07-12 Assigned To: dmitry New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2007-07-17 06:40:14] mplomer at gmx dot de Yes, seems this is the same problem. You could try to reproduce this with the 4-line test script from the comment from [30 Jun 10:19am UTC] and the "Reproduce procedure" from the initial bug report on your machine. But Jani could already reproduce the bug and it is now assigned to Dmitry, so we will wait for his comments ;-) ------------------------------------------------------------------------ [2007-07-16 23:23:32] stephen dot johnston at guildlaunch dot com We are seeing a similar problem in 5.2.3 with Apache 2.0.59 and 4g of RAM. After a few hours of running with more than 70 threads per child in Apache PHP will start throwing errors saying "out of memory" with seemingly random memory sizes. It seems to happen in our environment once Apache's memory usage reaches around 1gig, but that is not always the case. Our site is growing fast and we need to be able to up Apache threads without recycling Apache every 2 hours. Unfortunately, the PHP community in general seems to respond to error reports relating to this with "increase your memory limit". This is *not* a memory limit issue. I would be more than willing to work with you all to provide debug info, but we cannot reproduce this in our test environement with load testing and I don't want to "mess around" with our production environment without some specific direction on how to correctly profile this issue. ------------------------------------------------------------------------ [2007-07-14 21:15:15] [EMAIL PROTECTED] And I can reproduce this too on Windows, using latest snapshot available. ------------------------------------------------------------------------ [2007-07-14 09:15:28] [EMAIL PROTECTED] Dmitry, please check this out. ------------------------------------------------------------------------ [2007-07-11 08:43:55] mplomer at gmx dot de I tested with PHP 5.2.0 now, and I can reproduce the described behaviour from [30 Jun 10:19am UTC] too. Only when I am testing with PHP 5.1.6, I can't reproduce it. But I agree with you, that this points at the new memory management on win32. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/41713 -- Edit this bug report at http://bugs.php.net/?id=41713&edit=1