View Single Post
  #1  
Old 9th October 2012, 14:27
Jorem Jorem is offline
Senior Member
 
Join Date: Oct 2005
Posts: 139
Thanks: 5
Thanked 4 Times in 4 Posts
Default too many apache processes

I have a problem on 2 new low load (only 1 testsite per server) Ubuntu 12.04 servers (Perfect Server Setup). After a few days I get a max clients error and after that Apache crashes.

My current settings:
<IfModule mpm_prefork_module>
StartServers 3
MinSpareServers 3
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 3000
</IfModule>

When I have higher settings here Apache crashes after a day.

The rest of the system is fully responsive. After the crash I checked the running processes and I see a lot of "/usr/sbin/apache2 -k start" lines.

It looks like the processes are not closed/terminated and endless processes are created.

Can that be the cause for the Apache crash? What can I do about it?
Reply With Quote
Sponsored Links