Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    166
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    166
    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:
    166
    Location:
    Bend, Oregon
    cPanel Access Level:
    Root Administrator

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

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice