Apache2 worker mpm too many processes

Posted by delerious010 on Server Fault See other posts from Server Fault or by delerious010
Published on 2010-05-26T20:07:36Z Indexed on 2010/05/26 20:12 UTC
Read the original article Hit count: 530

Filed under:
|
|
|

I've got Apache installed with the worker mpm which seems to have too many processes active in spite of the configurations in place. I'll detail the configs below :

StartServers 2
MinSpareThreads 10
MaxSpareThreads 25
ThreadsPerChild 25
MaxClients 150

Based on these settings, we should be seeing a maximum of 1 Apache control process (uid:root) and 6 Apache client processes (uid:www). This being due to MaxClients/ThreadsPerChild.

However, I'm seeing a total of 1 Apache control process and 9 Apache client processes.

init
-- apache2(root)
-- -- apache2(www)
-- -- apache2(www) -- 1 thread
-- -- apache2(www) -- 26 threads
-- -- apache2(www) -- 26 threads
init
-- apache2(www) -- 2 threads
-- apache2(www)
-- apache2(www)
-- apache2(www)

We do not make it a habit of restarting Apache nor the Server, and will perform a reload 2-3 times a day at times so as to add new VHOSTs.

Would anyone be able to enlighten me as to what might be causing this ? enter code here

© Server Fault or respective owner

Related posts about apache2

Related posts about processes