MaxClients / MaxRequestsPerChild optimal settings

Discussion in 'Apache' started by vahing, Jan 13, 2010.

  1. #1
    Helllo,

    The server has a quad core capable 2,83 Xeon CPU, 4 GB RAM. Whenever I checked RAM usage was at most 25%, but the CPU load was high. I have seen Server Load (CPU) level between 2 - 4. Then, tonight the box had to be rebooted.

    Can someone give me good advice for these config parameters? (I run mainly proxies)

    <IfModule prefork.c>
    StartServers 5
    MinSpareServers 5
    MaxSpareServers 10
    ServerLimit 1500
    MaxClients 1500
    MaxRequestsPerChild 1000
    </IfModule>

    Thanks a lot,
    vahing
     
    vahing, Jan 13, 2010 IP
  2. Monie

    Monie Peon

    Messages:
    98
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'd say you'd probably be better off at setting MaxClients and ServerLimit to around 500 and startservers at about 10 and minspareservers 10 and max at 25
     
    Monie, Jan 18, 2010 IP