Hi,

Parent httpd process isn't spawning a new replacement child in a timely fashion,
after MaxRequestsPerChild has been hit and the child worker httpd has
exited with the below settings:

Timeout 70
KeepAlive On
KeepAliveTimeout 60

<IfModule mpm_worker_module>
    StartServers          2
    MaxClients          150
    MinSpareThreads      25
    MaxSpareThreads      75
    ThreadsPerChild      25
    MaxRequestsPerChild   10000
</IfModule>

Please let me know if any modifications required in httpd.conf file
settings to create new child process

Thanks & Regards,
matty

On 7/13/10, Eric Covener <cove...@gmail.com> wrote:
> On Tue, Jul 13, 2010 at 12:33 AM, Matty Ronald <matty.r...@gmail.com> wrote:
>> Hi All,
>>
>> Can anyone help me Why parent httpd process isn't spawning a new
>> replacement child in a timely fashion, after MaxRequestsPerChild has
>> been hit and the child worker httpd has exited.
>>
>
> The parent doesn't necessarily have to replace a child that exits due
> to MaxRequestsPerChild, if you're not below MinSpareThreads.
>
>> When and how does the parent pid get notified that it is time for the
>> child to die because MaxRequestsPerChild has been reached?
>
> The child offs itself, and the parent both checks every second to see
> if a child has exited and knows which indvidual threads are still
> running and which have exited, so it can keep track of Min/Max
> SpareThreads.
>
>> Does the child send back to the parent that it is servicing it's last
>> client BEFORE it starts doing so or does the parent in some way keep
>> track of how many clients the child has serviced or what?
>
> All the bookeeping is in the child. The parent only tells the child
> it's time to exit for MaxSpareThreads (children can't figure that out
> on their own) and restarts.
>
> --
> Eric Covener
> cove...@gmail.com
>
> ---------------------------------------------------------------------
> 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-unsubscr...@httpd.apache.org
>    "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to