httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krist van Besien <krist.vanbes...@gmail.com>
Subject [users@httpd] Why so many apache processes?
Date Mon, 11 Jul 2005 08:10:46 GMT
Hello,

On aLinux system I have an Apache, with multi threaded worker, and the
following in the conifg:

<IfModule worker.c>
StartServers         1
MaxClients         50
MinSpareThreads     5
MaxSpareThreads     50
ThreadsPerChild     5
MaxRequestsPerChild  100000
</IfModule>

Just after having started though I notive quite a few processes:


root     28544     1  5 10:09 ?        00:00:02 /usr/sbin/apache2 -k
start -D SSL -D PHP4
apache   28546 28544  0 10:09 ?        00:00:00 /usr/sbin/apache2 -k
start -D SSL -D PHP4
apache   28547 28544  0 10:09 ?        00:00:00 /usr/sbin/apache2 -k
start -D SSL -D PHP4
apache   28548 28547  0 10:09 ?        00:00:00 /usr/sbin/apache2 -k
start -D SSL -D PHP4
apache   28550 28548  1 10:09 ?        00:00:00 /usr/sbin/apache2 -k
start -D SSL -D PHP4
apache   28551 28548  0 10:09 ?        00:00:00 /usr/sbin/apache2 -k
start -D SSL -D PHP4
apache   28552 28548  0 10:09 ?        00:00:00 /usr/sbin/apache2 -k
start -D SSL -D PHP4
apache   28553 28548  0 10:09 ?        00:00:00 /usr/sbin/apache2 -k
start -D SSL -D PHP4
apache   28554 28548  0 10:09 ?        00:00:00 /usr/sbin/apache2 -k
start -D SSL -D PHP4
apache   28555 28548  0 10:09 ?        00:00:00 /usr/sbin/apache2 -k
start -D SSL -D PHP4
apache   28592 28544  0 10:10 ?        00:00:00 /usr/sbin/apache2 -k
start -D SSL -D PHP4
apache   28593 28592  0 10:10 ?        00:00:00 /usr/sbin/apache2 -k
start -D SSL -D PHP4
apache   28595 28593  0 10:10 ?        00:00:00 /usr/sbin/apache2 -k
start -D SSL -D PHP4
apache   28596 28593  0 10:10 ?        00:00:00 /usr/sbin/apache2 -k
start -D SSL -D PHP4
apache   28597 28593  0 10:10 ?        00:00:00 /usr/sbin/apache2 -k
start -D SSL -D PHP4
apache   28598 28593  0 10:10 ?        00:00:00 /usr/sbin/apache2 -k
start -D SSL -D PHP4
apache   28599 28593  0 10:10 ?        00:00:00 /usr/sbin/apache2 -k
start -D SSL -D PHP4
apache   28600 28593  0 10:10 ?        00:00:00 /usr/sbin/apache2 -k
start -D SSL -D PHP4


Why is that? I would have expected only two: The main process, and one
child. The server is serving no requests, so should not be spawning
additional children.

Krist

-- 
krist.vanbesien@gmail.com
Solothurn, Switzerland

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message