The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Real-time Process Resource Monitor

Discussion in 'General Discussion' started by nat, Sep 13, 2006.

  1. nat

    nat Well-Known Member

    Jan 16, 2003
    Likes Received:
    Trophy Points:
    Is there some script that automatically kills a process if using more than X resources for longer than X seconds. Also need to be able to ignore some users such as root.

    prm only checks 1 time per minute and I'm looking for more of real-time monitor that will stop the processes right away.

    If 8 crap scripts start up 3 seconds after prm checks and runs for 57 seconds, -- its all over with. prm won't even be able to run to kill them. only option is to reboot to get back in then real quick like disable the bad comment spam vulnerable scripts before server gets overloaded.

    /etc/security/limits.conf doesn't seem to work. Also if it did work, I don't want to add/delete every user manually everytime. If using wildcards, I don't want it to apply to root, cpanel, etc.

Share This Page