using high cpu httpd -k start
I would like to have your opinion, when I go into the processes I see httpd -k start takes all the CPUs at times and the sites fall down. How can I counter the whole thing?Do you have a suggestion?
Thank you very much for your help.
Jack
-
It can be multiple reasons - from my experience it is often related to either a certain type of attack happening on your system that tries to exhaust resources, or a ton of mod_security rules that have to be evaluated for sites. I had a box that would have multiple httpd processes running at 100% quite often taking up 2-3 full cores - eventually after investigation, it turned out to be mod_security rules (it disappeared whenever I disabled mod_security) - I then switched to LiteSpeed Web Server, which fixed the issue, because it handled modsec differently. I'd start by trying to disable mod_security rules temporarily to see if that resolves the issue - then you at least know where to further investigate. 0 -
Hello, thank you for your advice. I disabled mod_security and this didn't make any difference unfortunately. I'm also trying to look for LiteSpeed Web Server.... Thanks also to cPanelLauren, for the tutorial, I managed to reduce it by a lot. Thank you for your advice Jack 0
Please sign in to leave a comment.
Comments
3 comments