httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] PHP as CGI becomes a zombie when loaded too often
Date Fri, 28 May 2004 13:12:25 GMT

On Fri, 28 May 2004, Florian Effenberger wrote:
> 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. :-(

Have you tried running the same php script in a loop outside of apache?

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message