Skip to main content

Auto Kill Processes with High CPU Usage

Comments

4 comments

  • dalem
    Install cloudLinux will be you best option
    0
  • ES - George
    Is it a client account? If so, I can't help but think they may get upset if the execution of their web pages suddenly gets cut short. A better option would be to investigate the cause of the high CPU usage. For example, bots could be bombarding a contact form that has no CAPTCHA. Or there might be some simple settings changes that can be made. If you don't wish to install CloudLinux to help throttle resources automatically, the only other option would be to move that particular account to a new server. I know this doesn't answer your question about auto killing a process, but I figured this may be of help nevertheless.
    0
  • OCS
    @ES - George, I very much appreciate the reply and suggestion. This particular client will not/can not get upset about any short comings. This due to certain agreements. Your reply about CAPTCHA forms made me think.. After checking it seems that this account (website) actually does not have any captcha secured forms active. I've now enabled captcha and am very curious about the results.. I will certainly post them in the upcoming days. Thanks again.
    0
  • cPanelLauren
    I agree that CloudLinux would alleviate the issue of them being able to consume a large amount of server resources by automatically throttling them and this is a widely suggested resolution for this type of issue. I also agree that all efforts to understanding the source of the issue should be made as well. You can use the WHM>>Server Status>>daily process log to see the specific processes on average and the top processes on the server for the day. This should give you some hints for the user, the captcha idea is also fantastic and any login page for the site should have something like this implemented as well as brute force protection.
    0

Please sign in to leave a comment.