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 HTTPD very slow

Discussion in 'EasyApache' started by Mugoma, Sep 13, 2016.

  1. Mugoma

    Mugoma Member

    Joined:
    Aug 1, 2016
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Nairobi
    cPanel Access Level:
    Root Administrator
    We have been running cPanel for several months without a problem.

    But today we received complains from users about sites being slow to access.

    Later we also a notification from cPanel titled "FAILED ⛔: httpd"

    We restarted Apache and everything normalised.

    But about half an hour later the sites became slow again. However, this time restarting Apache didn't help.

    We have restarted Apache several times now but situation is not improving.

    What could be causing this?
     
  2. Mugoma

    Mugoma Member

    Joined:
    Aug 1, 2016
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Nairobi
    cPanel Access Level:
    Root Administrator
    Not sure what the problem was but Apache is now responding.

    But it might be good to get an explanation, if there's one, for such behaviour.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  4. twhiting9275

    twhiting9275 Well-Known Member

    Joined:
    Sep 26, 2002
    Messages:
    538
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    Take a look through the logs as Michael mentioned. Look for restarts. This will help you identify the issue.
    Also, it might be worth trying out litespeed which will handle things a great deal smoother if this is a repeated issue. You can get a trial from them from their site directly, and it's a simple install for cPanel :)
     
  5. NOC_Serverpoint

    NOC_Serverpoint Active Member

    Joined:
    Jul 3, 2016
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Website Owner
    Next time it happens, check the number of connections to your server too.

    netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1

    Show and list IP address and its connection count that connect to port 80 on the server.
     
Loading...

Share This Page