Results 1 to 4 of 4
  1. #1

    server reached MaxClients setting

    I get this error whenever my site becomes slow or dead

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

    Usually I have to reboot it to get it working again. Any ideas how much I need to increase the maxclient or whatever setting? My site is a wordpress site and receives 5k+ unique traffic daily. It has 512ram + 1gb burst

    You can check my site

  2. #2
    Join Date
    Feb 2008
    Houston, Texas, USA
    The setting is usually changed in apache's httpd.conf configuration file. Look for the prefork section in /etc/httpd/conf/ and increase it accordingly. Also google ServerLimit / MaxClients.

    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    [ cPanel Varnish Nginx Plugin ] - Enhance LiteSpeed and Apache Performance - Los Angeles | Houston | Atlanta | Rotterdam
    Love to help pro bono (time permitting). joe >

  3. #3
    If you increase MaxClients for an MPM in Apache, you must also increase the ServerLimit directive. The ServerLimit maximum is always obeyed, no matter what MaxClients says. For example, if MaxClients is set to 1000 and ServerLimit is 256 , then Apache can only serve 256 clients at a time.

  4. #4
    Join Date
    Dec 2007
    Indiana, USA
    You should be able to fix this by restarting Apache instead of restarting the whole server.

    If you are using cPanel it would be /scripts/restartsrv_httpd but if you are not using a control panel you could use /sbin/service httpd restart

    I wouldn't suggest running Worker MPM on a VPS with less than 1g~1.5gb ram however you can tweak Prefork to be able to handle more clients.

    Since your Max Clients is exceeding your Server Limit then you will want to up your Server Limit inside of your httpd.conf as others have advised you.

    I can't remember how many clients per server thread Apache uses in prefork mode but a bit of tweaking should be able to tell you.
    Michael Denney - MDDHosting LLC
    New shared plans for 2016! Check them out!
    Highly Available Shared, Premium, Reseller, and VPS

Similar Threads

  1. server reached maxclients !!!
    By eng_john84 in forum Hosting Security and Technology
    Replies: 7
    Last Post: 03-25-2008, 09:10 PM
  2. What's this: Server Reached Maxclients setting
    By citrine in forum Hosting Security and Technology
    Replies: 4
    Last Post: 12-13-2006, 08:30 AM
  3. Any one got this email before? Apache has reached the MaxClients??
    By BeerHandle in forum Hosting Security and Technology
    Replies: 5
    Last Post: 06-17-2004, 07:16 PM
  4. Apache has reached the MaxClients limits
    By Serverplan in forum Hosting Security and Technology
    Replies: 2
    Last Post: 02-27-2004, 10:09 PM
  5. Apache has reached the MaxClients
    By mnett in forum Hosting Software and Control Panels
    Replies: 8
    Last Post: 12-14-2003, 07:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts