apache prefork config

Discussion in 'Server Operation' started by alin19, Nov 17, 2008.

  1. alin19

    alin19 New Member

    I hava a webserver and from a week ago as my register client numeber start rising it start working slowly

    and i have tryed to find a reason for this
    my webserver stands on 4 gb ram memory and 2 xeon 2.33

    used memory is abouth 2 GB and processors bearly reach 20 %

    i have made a script that counts running httpd services and it can't pass 259

    and i think there is a problem with my MPM configuration

    :
    <IfModule prefork.c>
    StartServers 5
    MinSpareServers 5
    MaxSpareServers 10
    MaxClients 150 change it to 200
    MaxRequestsPerChild 0
    </IfModule>

    and still having the same problem, do i have to change MinSpareServ, MaxSpareServ, and MaxRequestsPerChild?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    You can try to play around with the following values:
    MaxKeepAliveRequests
    KeepAliveTimeout
    MaxClients
    MaxRequestsPerChild
     

Share This Page