server reached MaxClients setting, consider raising the MaxClients setting

Posted on 2005-04-20
Last Modified: 2011-08-18
I am running RedHat version 2
running on Linux veriosn : Linux otppweb-lin-15 2.4.21-20.ELsmp #1 SMP Wed Aug 18 20:46:40 EDT 2004 i686 i686 i386 GNU/Linux

My Apache server goes up and down very frequently. When i checked the Logs it says :

[Wed Apr 20 23:24:14 2005] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Wed Apr 20 23:26:05 2005] [error] server reached MaxClients setting, consider raising the MaxClients setting

So Restart Apache by increasing the MaxClient then it works Fine. After the restart whenever a new request comes it again reaches the
Maxclient to the limit and gives similar Message in the error_log and Apache Goes down.

I rebuild apache again but the samething is happening again and again. I know Kernel and Apache concerns no where but just to inform the list abt it.

Any Help would be appreciated.

Question by:osingh
    LVL 19

    Expert Comment

    First of all you should try to understand what is the load of your server by using mod_status.
    Second you should check access.log file to see that you are not attacked by some one and try to disable access to that IP address (or address range)

    Author Comment


    Thanks for your response.

    We have confirmed that there was no attack on our website during that time.

    We are expecting a maximum of 3000 concurrent user on our website, and we have 3 web server , each running 3 pairs of ssl and non ssl instances of apache.The server has only 4 GB of RAM. What value of MaxClient user will be good enough to handle this load?

    All help will be appretiated.


    LVL 19

    Accepted Solution

    check . on that URL you will find some calculations for maxclients based on amount of memory which do you have.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
    If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now