httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonas Eckerman <jonas_li...@frukt.org>
Subject Re: [users@httpd] MaxRequestsPerChild for worker mpm
Date Fri, 26 Nov 2010 18:20:46 GMT
On 2010-11-25 15:28, Igor Galić wrote:

> Worker MPM will *never* spawn more than StartServers children.

According to the docs at
<http://httpd.apache.org/docs/current/mod/mpm_common.html#startservers>
it will.

Quote:
---8<---
The StartServers directive sets the number of child server processes 
created on startup. As the number of processes is dynamically controlled 
depending on the load, there is usually little reason to adjust this 
parameter.

The default value differs from MPM to MPM. For worker the default is 
StartServers 3. For prefork defaults to 5 and for mpmt_os2 to 2.
---8<---

The *ServerLimit* directive oth puts a hard limit on the numkber of 
children Apache can start.

Quote:
---8<---
For the worker MPM, this directive [ServerLimit] in combination with 
ThreadLimit sets the maximum configured value for MaxClients for the 
lifetime of the Apache process. Any attempts to change this directive 
during a restart will be ignored, but MaxClients can be modified during 
a restart.
---8<---

More info at:
<http://httpd.apache.org/docs/current/mod/mpm_common.html#serverlimit>

Regards
/Jonas

-- 
Jonas Eckerman
Fruktträdet & Förbundet Sveriges Dövblinda
http://www.fsdb.org/
http://www.frukt.org/
http://whatever.frukt.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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message