Ubuntu Serious server hangups – MaxClient settings

server reached MaxClients setting, consider raising the MaxClients setting.

Please raise MaxClients and ServerLimit and restart Apache.
Edit /etc/apache2/apache2.conf and edit the follow!
or /etc/httpd/httpd.conf


On start up, Apache will create a number of processes (Servers), and will handle a maximum of simultaneous requests (MaxClients). Any connection attempts over MaxClients will be queued. The MaxClients maximum value is capped by Here is a default setting for a Debian/Ubuntu box:

<IfModule prefork.c>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 20
MaxRequestsPerChild 0

In order to handle more request at the same time, someone could use settings like:

<IfModule prefork.c>
StartServers 15
MinSpareServers 10
MaxSpareServers 20
ServerLimit      512
MaxClients 512
MaxRequestsPerChild 0





Leave a comment