httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <tevans...@googlemail.com>
Subject Re: [users@httpd] Little explanation
Date Tue, 05 May 2009 15:41:17 GMT
On Tue, 2009-05-05 at 12:07 -0300, Darvin Denmian wrote:
> Hello list,
> 
> i need some information about the above directives:
> 
> <IfModule prefork.c>
>     StartServers            8
>     MinSpareServers    5
>     MaxSpareServers   20
>     ServerLimit              288
>     MaxClients              256
>     MaxRequestsPerChild  4000
> </IfModule>
> 
> There is a good soul that can explain each directive listed above?
> 
> Thanks.
> 

Start 8 server processes at start up.
Always have at least 5 idle processes available.
If you have more than 20 idle processes available, kill some of them.
Never have more than 288 processes in total.
Never have more than 256 simultaneous requests.
After a single process has handled 4000 non keepalive requests, die.

That is specifically for prefork, those directives have different
meanings for different MPM. Check the directive quick reference[1] for
more details.

Cheers

Tom

[1] http://httpd.apache.org/docs/2.2/mod/quickreference.html


---------------------------------------------------------------------
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