> <IfModule mpm_event_module>
>    LoadModule cgid_module modules/mod_cgid.so
>    ServerLimit 32
>    ThreadsPerChild 25
>    MaxRequestWorkers 800
> </IfModule>
>
> The system has now survived an unattended log rotation and Apache reload with 
> those settings, but I can't be sure if it's because of the MPM config change, 
> luck, or something else. It makes me a bit nervous.
>
> Would you suggest that I bump up ServerLimit further, and leave the other 
> parameters untouched?

With double the capacity now it might never matter -- but in general
yes you'd want to have "slack space" with ServerLimit of e.g. 48 or
64.  The slack space is occupied by replacements when termination of
the old processes is slow

It would also be good to find out what slows down the processes to
exit, this is where the workload/config comes into play.  pstack or
gdb will give you a backtrace of processes. If server-status is
reachable you can investigate the 'G' processes. If it's not
available, you can use ps to look for processes that have an unusual #
of threads (the threads that were idle terminate, the spinning/hanging
ones are left)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to