Lots of hanging Apache processes
Our server load for one of our servers has gone through the roof. If I restart Apache it calms down for 2-3 hours and then comes back again.
If I look at the apache process I can see they are all "W" Sending Reply.
The sites are completely random so it's not a bad script I don't think it looks like an attack so not sure why it's doing this.
-
Hi @Gareth-AWD We have a great forum post on mitigating high loads and I think it will be helpful for you please check it out here: Tutorial - Troubleshooting high server loads on Linux servers Thanks! 0 -
Trouble is, it's not a load issue but more the fact Apache should be killing these processes. Please see the screenshots. The W blocks all seem to be be together. These processes are all finished, they aren't doing anything. preview.ibb.co/m89Sh9/process_tree.jpg image.ibb.co/hfypUp/apache_process.jpg 0 -
Hi @Gareth-AWD Ultimately it would be considered a load issue since load issues are always symptoms of something else which causes the high load. What is the output of: apachectl status
If you're seeing a lot of connections with w status my assumption would be that you have a script that isn't properly closing the connection or is getting stuck. You'll need to identify what specifically is being connected to when this is occurring.0 -
They are all different scripts. Some our developed by us and some are popular off the shelf platforms. It's completely random sites which leads me to believe it's an issue with the server setup rather than the scripts. Our other server doesn't have the issue at all. Apache is working but appears to be busy. I've adjusted the PHP timeouts and I guess I'll see if it happens again. 0
Please sign in to leave a comment.
Comments
4 comments