maxbaron

Registered
Nov 2, 2004
2
0
151
I configured apache as follow:

KeepAlive On
MaxKeepAliveRequests 64
KeepAliveTimeout 1
UseCanonicalName Off
HostnameLookups Off
ServerTokens Prod
ServerLimit 1000

<IfModule worker.c>
ThreadLimit 90
StartServers 30
MaxClients 600
MinSpareThreads 50
MaxSpareThreads 90
ThreadsPerChild 60
MaxRequestsPerChild 64
</IfModule>

Why I get the following WARN?

[Mon Jul 14 20:06:09 2008] [warn] WARNING: Attempt to change ServerLimit ignored during restart
[Mon Jul 14 20:06:09 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.6 configured -- resuming normal operations

thank you in advance
 

koolcards

Well-Known Member
Oct 8, 2003
146
0
166
Tampa, Fl
http://httpd.apache.org/docs/2.2/mod/mpm_common.html#serverlimit

ServerLimit Directive

For the prefork MPM, this directive sets the maximum configured value for MaxClients for the lifetime of the Apache process. For the worker MPM, this directive 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.