Apache MaxClients exceeds ServerLimit

Posted by Jason Web Hosting Tuesday 11 November 2008 6:14 am

If you are running Apache 2.x make sure that after every change to your httpd.conf file, you run the following commands:

/usr/local/cpanel/bin/apache_conf_distiller –update –main
/usr/local/cpanel/bin/build_apache_conf

Suppose you increase MaxClients to 500 and restart Apache, you may see the below warning message

WARNING: MaxClients of 500 exceeds ServerLimit value of 256 servers, lowering MaxClients to 256. To increase, please see the ServerLimit directive.

In this case, execute the above-mentioned commands and the changes will reflect. This also prevents any changes to be overwritten on the next cPanel update.

Leave a Reply

You must be logged in to post a comment.

Categories

Archives

Web Hosting Blogroll