LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS/Apache cluster freezes from time to time

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: LVS/Apache cluster freezes from time to time
From: "Jacob Coby" <jcoby@xxxxxxxxxxxxxxx>
Date: Thu, 30 Oct 2003 09:57:06 -0500
> Unfortunately, the web servers are freezing for some seconds from time
> to time. The phenomenon occurs in unregular intervals (1-5 minutes)
> indepentently on each server.
>
> During these freezes, I can still type commands into the shell, but they
> get not executed until the freeze is over. Afterwards, the load
> increases rapidly, and some apache threads seem to die.

Are you running out of memory?  Swapping will absolutely kill the webserver.
PHP has some memory leaks, and it is a good idea to restart apache every
night and to set MaxRequestsPerChild to something fairly low, like 25.

-Jacob
Listingbook.com

<Prev in Thread] Current Thread [Next in Thread>