From:             floeff at arcor dot de
Operating system: Linux 2.4
PHP version:      4.3.6
PHP Bug Type:     Reproducible crash
Bug description:  PHP as CGI becomes a zombie when loaded too often

Description:
------------
Sorry for posting this again and again, but I still experience this
problem and there seems to be no way for me to solve it. I've got
confirmation from others that this problem is not only mine, so please
take the time to read this.

I've tried Apache 1.3 and 2.0, both on Linux 2.4. I've tried using suEXEC
and not using suEXEC, and I even tried modules that stop script execution
at a specific load average (tested with 1.00!) or number of processes
(tested with 10!). But nothing seems to help in the following case:

I run PHP as CGI because I don't want to have world-readable scripts and
mod_perchild is not ready yet. When I do a hard reload - i.e. reloading
the same script for about 10 seconds continously which should open quite a
lot of scripts - I can crash the server. PHP-CGI-processes become zombies,
I get a load average of about 90 (!) and it can take up to 30 minutes
until the system responds again. This happens even with the simplest PHP
scripts like a phpinfo call, but Perl scripts make absolutely no problem.

The PHP developers say it's an Apache problem, the Apache developers say
it's a PHP problem. So *PLEASE* take the time to review this one again -
I'm helpless right now! :-( I know there must be a solution, because some
providers run PHP as CGI without problems, but I don't know what it could
be. :-(


-- 
Edit bug report at http://bugs.php.net/?id=28556&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28556&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28556&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28556&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28556&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28556&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28556&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28556&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28556&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28556&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28556&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28556&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28556&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28556&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28556&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28556&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28556&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28556&r=float

Reply via email to