I am on Debian 6 LAMP with apache mpm_prefork
Timeout 20 KeepAlive On MaxKeepAliveRequests 80 KeepAliveTimeout 2 <IfModule mpm_prefork_module> StartServers 5 MinSpareServers 5 MaxSpareServers 10 ServerLimit 500 MaxClients 500 MaxRequestsPerChild 1500 </IfModule>
with 4GB of RAM. The problem is Apache2 starts too many process. Whenever I do
top I see most of time only 1 running, while the number of apache2 process sleeping grows over time (now at 437 processes and counting)
Can I know Why apache2 starts new process instead to use the one already opened? And how can i tell to apache to don't open so many process?