httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41590] - Exceed Serverlimit directive when mod_php are using
Date Tue, 13 Feb 2007 12:40:00 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41590>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41590





------- Additional Comments From trawick@apache.org  2007-02-13 04:39 -------
>MaxClients=ServerLimit*ThreadsPerChild
>ThreadsPerChild is a constant.

In a child process trying to gracefully exit, there are actually fewer than
ThreadsPerChild  active threads handling requests.  Threads which have finished
their last request will have exited.

MaxClients and the reserved scoreboard space are still a constant.  If there are
gracefully exiting child processes and a new process is created and there is
unused process slot in the scoreboard, the new process will share a slot with a
gracefully exiting child process, and will only be able to create as many
threads as have exited from the gracefully exiting process.  So the number of
threads in that slot for the two processes doesn't exceed ThreadsPerChild.

I suggest reading/studying/gdb-ing the worker MPM source code if you want more
information.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message