httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject [users@httpd] min spare servers Directive
Date Tue, 28 Aug 2007 13:28:50 GMT
We are using prefork apache on Red Hat Enterprise Linux AS  4 with the
following settings:
MaxKeepAliveRequests 100

KeepAliveTimeout 15

<IfModule prefork.c>
StartServers       8
MinSpareServers    8
MaxSpareServers   300
ServerLimit      575
MaxClients       575
MaxRequestsPerChild  4000

What I am unclear about is that if the server limit is 575 and I have
actually reached this limit will there be 8 additional children
started(MinSpareServers) that is not serving requests but will be if any
of the other children stops or reaches MaxRequestsPerChild? 

When I do a character count on server-status I get the value of 584
which confirms my above reasoning.

This apache httpd server is used to front 12 Tomcat servers using

I think the MaxSpareServers value is a bit high. I believe the original
reasoning behind this value has been because we receive regular burst of
traffic and then it is better to have apache keep the processes active
to sit out the burst of traffic. 

We have also considered changing the parameters as follows to improve
performance after a httpd restart which unfortunately at the moment is
fairly often:

StartServers       16
MinSpareServers    16
MaxSpareServers   64

Any opinions on these values would be appreciated.


This email has been scanned by the MessageLabs Email Security System.
For more information please visit 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message