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
We are using Code: StartServers 5 MinSpareServers 5 MaxSpareServers 10 I suggest you check out this link: http://www.howtoforge.com/configuring_apache_for_maximum_performance Do you use a PHP opcode cacher such as eAccelerator, Xcache, or APC? That should help a lot. Also, did you try to optimize your MySQL settings?