I was trying to understand how prefork work ( I am not involving Worker.c)
Since mY server is prefork MpM base, lets try to undertand that one
to perform someo test, i have this setup ( which i know its not that practical but just trying to understnad some theory)
Max SpareServer 2
so, according to this, there should be one parent process and 2 child process ,
-bash-3.2# ps aux | grep -v grep | grep httpd
root 24858 0.0 2.9 23188 7632 ? Ss 10:16 0:00 /usr/sbin/httpd
apache 26748 0.0 1.7 23324 4660 ? S 11:19 0:00 /usr/sbin/httpd
apache 26758 0.0 1.7 23324 4656 ? S 11:19 0:00 /usr/sbin/httpd
And server-staus will show, 2 idle worker which is this
Now I have 2 question which i need to understand..
1. is Idle workers is Same as Child proces ??( Because MinSpareServer 2 , so there is 2 worker process )
2. Since i have setup MinSapre server value 2 , there would be always 2 Idle worker process( If idle worker and child process is same)
(if yes then i will have to ask few other question here)
2. How many simultanous requst can be handled by 1 idle worker process ??
Thanks for your response