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.

Apache failed

Discussion in 'EasyApache' started by dxer, Jan 20, 2003.

  1. dxer

    dxer Well-Known Member

    Joined:
    Sep 9, 2002
    Messages:
    295
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Europe
    I received following message from root.
    What this MaxClients mean ?
    There are two domain on server at the moment so how can there be overlimits.
    How can I delete this log acces files and is it OK to delete it ?

    How to prevent this to happen in future ?


    **********************************

    IMPORTANT: Do not ignore this email.
    Apache has reached the MaxClients
    limit. cPanel has increased the MaxClients limit to 160 (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
    ====================================
    5196 /usr/local/apache/domlogs/firstdomain.com
    1744 /usr/local/apache/domlogs/seconddomain.com
    336 /usr/local/apache/domlogs/ftpseconddomain-ftp_log
     
  2. Tom Pyles

    Tom Pyles Well-Known Member

    Joined:
    Apr 26, 2002
    Messages:
    254
    Likes Received:
    0
    Trophy Points:
    16
    One thing that causes this is a mini attack (for lack of a better word). Look at your server logs and you will probably see repeated entries from the same IP that return a 408(?) error. There will probably be several per second for a minute or two...
     
  3. dxer

    dxer Well-Known Member

    Joined:
    Sep 9, 2002
    Messages:
    295
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Europe
    Before week or so Apache failed reaching MaxClients. CPanel guys advised me to change MaxClients to 400 but it seems that this is not enough . How can I solve this problem for good ?

    And Yes in my error log there is lots of 404 errors saying that some pictures are not available and this is not true as everything works fine. How to fix this




    MESSAGE came:

    IMPORTANT: Do not ignore this email.
    Apache has reached the MaxClients
    limit. You should edit httpd.conf and change
    the MaxClients to something

    higher. cPanel normally does this for you,&n
    bsp;however it will not set this

    to a number above 255 since this may cau
    se the server to crash/fallover. The

    MaxClients setting is currently set at 400

    You may wish to suspend the user with th
    e 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
    ====================================
    6640 /usr/local/apache/domlogs/domain1.xx
    2280 /usr/local/apache/domlogs/domain2.xxx
    336 /usr/local/apache/domlogs/ftp.domain2.xxx-ftp_log
     
Loading...

Share This Page