httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Klaas [xs4all.nl]" <kl...@xs4all.nl>
Subject Re: [users@httpd] Apache freezes system
Date Sun, 27 Feb 2005 18:26:45 GMT
Ricardo Manuel Oliveira wrote:
> Klaas [xs4all.nl] wrote:
> 

>> The problem I've encounterd is that from time to time an apache child 
>> is responsable for freezing the system for about 20 minutes.
> It'd look as if one of your php scripts is comsuming all that memory.
> 
> Set a MAX limit on the memory available to any apache process while 
> running php scripts, enable php logs and look for the guilty script 
> there. This configuration should be in a php.ini located somewhere 
> (/etc, /usr/local/lib, depending on your specific installation).

Been there, done that :) Mem limit for php scripts is 8MB with a max. 
ex. time of 30 secs (Debian defaults). Logging for PHP is on but when 
the server goes 'down' there is not a single clue for a guilty PHP page :(

The search continues...

Klaas

---------------------------------------------------------------------
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