Home > Bookmarks, Hosting, Linux > Apache MaxClients Issue

Apache MaxClients Issue

October 19th, 2007 Leave a comment Go to comments

for this error:

[error] server reached MaxClients setting, consider rising the MaxClients setting

resolve:

open: httpd.conf (located in /etc/httpd/conf/)

search for MaxClients (usual under <IfModule worker.c> , prefork is more rare)

modify MaxClients from 150 to 300 !

<IfModule worker.c>
StartServers         2
MaxClients         300
MinSpareThreads     25
MaxSpareThreads     75
ThreadsPerChild     25
MaxRequestsPerChild  0
</IfModule>

Save httpd.conf and test new configuration:

./usr/sbin/apachectl configtest

if all is ok , restart apache (httpd) !

./etc/rc.d/init.d/httpd restart
  1. No comments yet.
  1. No trackbacks yet.
GoCache - ByREV-Cache v1.0 - live served in : 0.138109 sec (gzip)