dcpumon kills my process

Gleb Esman

Registered
Nov 11, 2016
3
1
3
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,250
463
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,250
463