pgrep httpd yeilds 9 pids:
1624 1651 1652 1653 1654 1655 1656 1657 1658
If I kill the httpd process with the first pid( here
1624 ) all the httpd process gets killed.
Although if kill the processes with pid's other than the first one, only that process gets killed. And as soon as the number of httpd processes gets lower than 6, It will spawn httpd processes and the number of httpd process is maintained at constant 6.
This does not happen when I manually start httpd. only one process getd created.
- why is the above behaviour?
- Is httpd getting started as thread based?
Also I am running httpd on Fedora 15 on a 6 core processor.
And I have not changed anything in
/etc/sysconfig/httpd every line in
/etc/sysconfig/httpd is commented.