Apache HTTPD very slow
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?
-
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. 0 -
Hello, Do you notice any particular entries in /usr/local/apache/logs/error_log at the time this happened? Thank you. 0 -
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 :) 0 -
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. 0
Please sign in to leave a comment.
Comments
4 comments