ID: 46218 Updated by: srina...@php.net Reported By: funky2step at gmail dot com -Status: No Feedback +Status: Feedback Bug Type: Streams related Operating System: RHEL ES Rel 4 (Nahant Update 6) PHP Version: 5.2.6 New Comment:
to me, it sounds more like configuration issue rather than a possible bug within php. if your application is taking time to long to process , then either you will need to reduce the maximum execution time of your php script (within php.ini) or increase apache's max client value to address to your system load.. did you try to reduce the maximum_execution_time in your php.ini setting to make sure that your php scripts are terminated after some time ? if you think it is some php bug that is causing it, get pstack output of your php process on a regular basis and see what all these processes are doing Previous Comments: ------------------------------------------------------------------------ [2009-10-20 00:06:42] joliver at gmx dot at Exactly the same problem here: Debian Lenny, apache 2.2.9 (prefork), php 5.2.6, eaccelerator 0.9.5.3 Server crashes every few days with "server reached MaxClients setting, consider raising the MaxClients setting" When restarting several warnings "child process XXX still did not exit, sending a SIGTERM" show up (however much less than MaxClients). We first suspected a Slowloris attack, however we can rule out this after counting new connections in the firewall-logs. ------------------------------------------------------------------------ [2009-10-08 20:04:27] apache at vacances-location dot net I experiencing exactly the same problem, Apache2 crash with message "reaches the maxclients limit", with no load, and it don't kill the old processes. I have the same versions, but on Debian Lenny. Somebody have a fix ? ------------------------------------------------------------------------ [2009-04-14 01:00:01] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2009-04-09 09:24:52] funky2step at googlemail dot com We used the prefork mpm. ------------------------------------------------------------------------ [2009-04-07 11:06:02] david at dsanders dot co dot uk I too am seeing this bug on Apache 2.2.9 with PHP 5.2.6 using MPM Prefork. In a web crawler application that I have written it continually hangs up max clients. ------------------------------------------------------------------------ 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/46218 -- Edit this bug report at http://bugs.php.net/?id=46218&edit=1