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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx