Skip to main content

Lots of hanging Apache processes

Comments

4 comments

  • cPanelLauren
    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
  • Gareth-AWD
    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
  • cPanelLauren
    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
  • Gareth-AWD
    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.