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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

dcpumon kills my process

Discussion in 'Security' started by Gleb Esman, Nov 11, 2016.

Tags:
  1. Gleb Esman

    Gleb Esman Registered

    Joined:
    Nov 11, 2016
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    San Francisco
    cPanel Access Level:
    Root Administrator
    Hello,

    I was investigating the cause of someone killing my process (custom data monitoring daemon) once a day. At approximately 22:15 my process would die every day.

    I traced the cause to this line in '/var/spool/cron/root' file:
    11 22 * * * /usr/local/cpanel/scripts/upcp --cron
    upcp --cron
    runs and in turn causes this to happen:
    - Processing command `/usr/local/cpanel/bin/dcpumon --killproc`
    dcpumon in turns kills my process.

    Is there a way to prevent dcpumon from killing specific process?

    If not - could someone post an instruction to disable dcpumon without it being re-enabled after every WHM/Cpanel update?

    Thanks.

    Gleb
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It's not possible to disable that application directly. Are you able to modify your custom application to use a different process name?

    Also, feel free to open a feature request for the ability to disable dcpumon via:

    Submit A Feature Request

    Thank you.
     
  3. Gleb Esman

    Gleb Esman Registered

    Joined:
    Nov 11, 2016
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    San Francisco
    cPanel Access Level:
    Root Administrator
    I had to manually comment out dcpumon in '/scripts/maintenance'.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  5. Gleb Esman

    Gleb Esman Registered

    Joined:
    Nov 11, 2016
    Messages:
    3
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    San Francisco
    cPanel Access Level:
    Root Administrator
    Great, appreciate your reply.

    Gleb
     
    cPanelMichael likes this.
Loading...

Share This Page