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.

Auto Killing Processes with CSF/LFD

Discussion in 'General Discussion' started by orty, Dec 11, 2006.

  1. orty

    orty Well-Known Member

    Joined:
    Jun 29, 2004
    Messages:
    110
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Bend, Oregon
    cPanel Access Level:
    Root Administrator
    Firist off, every bit of software at ConfigServer.com kicks all sorts of butt :)

    Anyway, I've got CSF/LFD from there installed. Working great. Allowed me to discover that one of my clients has installed a script that just doesn't exit properly like it should, so I'm getting e-mails like the following:

    Is there any way to just have those processes killed automatically if they've been running that long, or can I put in the command line someplace and have them killed after "x" amount of minutes (as sometimes the script it question can take 30 minutes, but it usually doesn't die anyway -- I'll get these emails after the thing has been running for 3 days).

    Thanks!
     
  2. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    CSF is fantastic...

    The answer to your question is at the bottom of the CSF config.

    # If this option is set then processes detected by PT_USERMEM or PT_USERTIME
    # are killed
    PT_USERKILL

    Is that what you were wanting?
     
  3. orty

    orty Well-Known Member

    Joined:
    Jun 29, 2004
    Messages:
    110
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Bend, Oregon
    cPanel Access Level:
    Root Administrator

    It is -- I knew it was easy. Sorry ...

    Thanks!
     
Loading...

Share This Page