apache config

Discussion in 'Server Operation' started by wood, Jul 14, 2011.

  1. wood

    wood New Member

    Hello,

    A friend of mine has been trying to speed his server up, but it still feels really slow. the server has 8GB of ram and lots of space, big fat connection.

    The site has 31,000 Posts and about 3000 Members, but even if the site gets a 100 ppl on it, it becomes like molasses.

    from reading on apache "The StartServers directive sets the number of child server processes created on startup. As the number of processes is dynamically controlled depending on the load, there is usually little reason to adjust this parameter."

    he has bumped them up to 25, which i feel is wrong but i'm not sure.. can any one help me with the config, would be great to get more than 100 ppl on the site at once with out a standstill.

    Code:
    <IfModule mpm_prefork_module>
    StartServers 25
    MinSpareServers 25
    MaxSpareServers 50
    MaxClients 250
    MaxRequestsPerChild 1000
    </IfModule>
    
    # worker MPM
    # StartServers: initial number of server processes to start
    # MaxClients: maximum number of simultaneous client connections
    # MinSpareThreads: minimum number of worker threads which are kept spare
    # MaxSpareThreads: maximum number of worker threads which are kept spare
    # ThreadsPerChild: constant number of worker threads in each server process
    # MaxRequestsPerChild: maximum number of requests a server process serves
    <IfModule mpm_worker_module>
    StartServers 25
    MinSpareThreads 25
    MaxSpareThreads 75
    ThreadLimit 64
    ThreadsPerChild 25
    MaxClients 250
    MaxRequestsPerChild 1000
    </IfModule>
    
    # event MPM
    # StartServers: initial number of server processes to start
    # MaxClients: maximum number of simultaneous client connections
    # MinSpareThreads: minimum number of worker threads which are kept spare
    # MaxSpareThreads: maximum number of worker threads which are kept spare
    # ThreadsPerChild: constant number of worker threads in each server process
    # MaxRequestsPerChild: maximum number of requests a server process serves
    <IfModule mpm_event_module>
    StartServers 25
    MaxClients 250
    MinSpareThreads 25
    MaxSpareThreads 75
    ThreadLimit 64
    ThreadsPerChild 25
    
     
  2. falko

    falko Super Moderator ISPConfig Developer

Share This Page