The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Apache 2, please help

Discussion in 'EasyApache' started by maxbaron, Jul 14, 2008.

  1. maxbaron

    maxbaron Registered

    Joined:
    Nov 2, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. koolcards

    koolcards Well-Known Member

    Joined:
    Oct 8, 2003
    Messages:
    146
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    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.
     
Loading...

Share This Page