The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

MaxClients

Discussion in 'General Discussion' started by wizz, Nov 29, 2002.

  1. wizz

    wizz Member

    Joined:
    Nov 19, 2002
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    My server keeps sending me emails. Do you think it fancies me? :p

    No sorry. Start again. It sends me this;

    --------------------------------------------------
    IMPORTANT: Do not ignore this email.
    Apache has reached the MaxClients
    limit. cPanel has increased the MaxClients limit to 180 (10 higher).

    You may wish to suspend the user with the largest access log as they
    are generally the person using up all of the avalible connections. However, your should
    have your system admin verify this first.

    Top 3 Largest access logs
    ====================================
    12024 /usr/local/apache/domlogs/domain1.com
    2196 /usr/local/apache/domlogs/domain2.com
    252 /usr/local/apache/domlogs/domain1.com-bytes_log
    --------------------------------------------------------------------

    Now I guess that means that there were 170 visitors at one time does it? And that Apache has an imposed limit, and when that limit is exceeded, a new limit (10 higher) is set, and apache is restarted. Right?

    Please forgive me if this is basic stuff, and I am being a bit thick, but I imagine that limit is for security and to protect from over load. So what I want to know is;
    1. Am I right or have I got it all arse about face? (as usual)
    2. Should I manually set a higher limit, if so, how and what?
    3. If the limit is automaticly increased by 10 each time, won't that eventually lead to overload any way?
     
  2. dodedum

    dodedum Registered

    Joined:
    Nov 29, 2002
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Check your Apache log files you will probably see a bunch of entires for win32... etc.

    It is code red worm and even tho it does not effect linux it is like a mini DOS attack and causes Apache to crash by opening too many connections at once.

    Do search on it here there have been a few threads on it.
     
  3. wizz

    wizz Member

    Joined:
    Nov 19, 2002
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I have viewd the apache logs, but they all seem to be lagitimate requests. One of my sites can get very busy, and I have only just completed moving it to this server, but I was wondering what the situation is with the apache limit. I mean if it has to restart when it maxis out, then, that will prevent some visitors from accessing. And I hate the thought of loosing any business! ;)
     

Share This Page