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.

Load on Server Issue

Discussion in 'General Discussion' started by Italo Duarte, Apr 28, 2017.

Tags:
  1. Italo Duarte

    Italo Duarte Member

    Joined:
    Apr 10, 2017
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Brasil
    cPanel Access Level:
    Root Administrator
    Since the last update to WHM 64 I realize that the server has become very unstable, the load has gone up a lot, the sites are falling frequently. I would like to know what may be happening. I do not know if it's a problem with the new mod_security rules or the update itself.
     
  2. Italo Duarte

    Italo Duarte Member

    Joined:
    Apr 10, 2017
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Brasil
    cPanel Access Level:
    Root Administrator
    By doing the query with the following code the same returns me the list of connected IPS:

    Code:
    netstat -anp |grep 'tcp\|udp' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
    The return shows more than 329 connections without IP and when this number exceeds 100 Apache stops working and the sites are down! What can it be?

    - Removed -
     
    #2 Italo Duarte, Apr 28, 2017
    Last edited by a moderator: Apr 28, 2017
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The following thread is a good place to start when troubleshooting high resource usage:

    Troubleshooting high server loads on Linux servers

    As far as the Apache issue, do you notice any specific output to /usr/local/apache/logs/error_log when Apache stops responding?

    Thank you.
     
  4. Italo Duarte

    Italo Duarte Member

    Joined:
    Apr 10, 2017
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Brasil
    cPanel Access Level:
    Root Administrator
    By checking the output of the above command I am trying a flurry of logs showing that the mod_security commands are not being processed.

    Being print
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page