Apache recommended settings

Discussion in 'Apache' started by Namesniper, Jan 6, 2007.

  1. #1
    Hi,

    I was wondering whether if these settings are normal for the server with about 30.000 visitors a day ?

    KeepAlive On
    MaxKeepAliveRequests 200
    KeepAliveTimeout 7
    MinSpareServers 15
    MaxSpareServers 30
    StartServers 20
    MaxClients 320
    MaxRequestsPerChild 1000
    Timeout 300
     
    Namesniper, Jan 6, 2007 IP
  2. Sini

    Sini Peon

    Messages:
    119
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Seems ok...I prefer lower amount of spareservers (usually use 5 and 20), but that isn't a big factor.

    Are you having problems with the server...as if something aint broken don't fix it ;)
     
    Sini, Jan 10, 2007 IP
  3. Namesniper

    Namesniper Well-Known Member

    Messages:
    365
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    118
    #3
    I had..but lowered apache maxclient to 320 and now its ok
     
    Namesniper, Jan 11, 2007 IP
  4. noname

    noname Peon

    Messages:
    26
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    depends on what your server is running, and the type of traffic, and the type of content.

    dedicated server make all these the same if you server can really have 320 httpds
    MinSpareServers 320
    MaxSpareServers 320
    StartServers 320
    MaxClients 320

    sticky users okay keep it on otherwise off is better.
    KeepAlive On
    KeepAliveTimeout 7
    MaxKeepAliveRequests 200

    static page you can increase, stuff like modperl don't increase.
    MaxRequestsPerChild 1000

    lower is better. 300 seconds is 5 mins?
    Timeout 300
     
    noname, Jan 11, 2007 IP
  5. Sini

    Sini Peon

    Messages:
    119
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Why to have such amount of spare servers waiting...although the server would be able to take it what is the benefit? It just take resources from other processes to have excessive amount of spare servers...spare servers are not in use, those are waiting to be used.
     
    Sini, Jan 11, 2007 IP