[error] server reached MaxClients setting, consider raising the MaxClients setting - Apache

Have you ever seen this dreaded message in your Apache/HTTPD /var/log/httpd/error_log?

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

The error itself is slightly misleading.  I believe this happened to one of my servers, I found Apache was running still, and that you could telnet to port 80 but no respnose would be given.

For some reason my error log initially did not have the above error, but after a restart I saw it.  I'm assuming it was a DOS attack or increased traffic.

The "MaxClients" setting is not the only thing to take into consideration, if you follow the above you'll get an error message like this:

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

So make sure you edit /etc/httpd/conf/httpd.conf

And check the ServerLimit value first and set that to something like 100-500 and then set MaxClients

Latest Articles

  • prosody xmpp server "Failed in all attempts to connect to proxy.eu.jabber.org"
  • VMWare ESXi 6.7 SSH/PowerShell CLI Commands
  • VMWare Vsphere VCSA Graphical Install Creates json
  • error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory
  • ./xmr-stak: error while loading shared libraries: libmicrohttpd.so.10: cannot open shared object file: No such file or directory
  • qemu-img resize howto
  • gmail.com address failing in Postfix
  • VMWare Hardware virtualization is selected and cannot be deselected due to selection of VBS Insufficient resources to satisfy configured failover level for vSphere HA.
  • Debian Mint Ubuntu compiling xmr-stak
  • ./nsgpucnminer: error while loading shared libraries: libOpenCL.so.1w: cannot open shared object file: No such file or directory
  • *** These critical programs are missing or too old: gawk
  • migration/4 migration 4 is using too much CPU
  • convert.im6: Unknown field with tag 317 (0x13d) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/788.
  • Python SyntaxError: Missing parentheses in call to 'print'
  • Linux How To Rename Files
  • OpenVZ container will not stop Child 546246 exited with status 1
  • [warn] VirtualHost 10.2.5.101:443 overlaps with VirtualHost 10.2.5.101:443, the first has precedence, perhaps you need a NameVirtualHost directive
  • Ethereum Client Errors
  • PayPal IPN Failed "result: IPN Handshake Invalid"
  • Linux Centos 7 HowTo Install Yarn