Rasing hard limits in apache maxclients through cpanel

apache_logo_medium.thumbnail

It’s trickier to raise the hard apache user limit now with apache 2.2. In 1.3 you just changed a number in the httpd.conf file. Now you need to do it in cpanel or it will be over written with each cpanel update.

  1. Open WHM and click
  2. Apache Configuration
  3. Include Editor
  4. Pre Main Include
  5. Choose your apache version in the drop down box
  6. Then add the code below to the box, or change the code as needed and then add it.
  7. Then restart apache


ServerLimit 512
StartServers 32
MinSpareServers 5
MaxSpareServers 20
MaxClients 512
MaxRequestsPerChild 1000

One thought on “Rasing hard limits in apache maxclients through cpanel”

Comments are closed.