Hello All, I have a dedicated server running LAMP and every once in a while (2-3 times a week) apache2 just seems to stop working. The only solution I have is to do a restart. Does anyone know why this would happen and a possible solution? Thanks in advance!
There is a setting in apache "MaxClients" that limits the number of maximum clients connected or open connections to apache. If you apache reaches this limit, it may stop responding. If that is the case with your webserver, then you can either check why you are having this many open connections simultaneously (clients not closing connections, ddos attacks, hanging perl/php scripts etc, view apache status page to check which pages are open for long time or a few IP's using all the connections) or increase that limit (MaxClients and ServerLimit).
Thanks, that helps me understand. Is there a way to force a connection to close / timeout eventually?