EZ Linux Admin random header image

Rasing hard limits in apache maxclients through cpanel

September 15th, 2009 by EZ linux · 1 Comment

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

Tags: Linux Images

1 response so far ↓

  • 1 Gavo // Dec 8, 2009 at 5:51 pm

    Thanks, I have been looking for this for some time.

Leave a Comment