selecting background running processes
I don't know the best section to post this but here goes...
On my server with WHM/Cpanel installed, I noticed alot of entries in my crontab similar to the following:
I modified some numbers in the file because some services were running too frequently or at the wrong time, particularily the dcpumon service. I looked all over the place to try to find out what each service does and whether or not I can safely remove it from ongoing execution. Any idea?
0 6 * * * /usr/local/cpanel/scripts/exim_tidydb > /dev/null 2>&1
30 5 * * * /usr/local/cpanel/scripts/optimize_eximstats > /dev/null 2>&1
0 9 * * * /usr/local/cpanel/bin/backup
35 * * * * /usr/bin/test -x /usr/local/cpanel/bin/tail-check && /usr/local/cpanel/bin/tail-check
45 */4 * * * /usr/bin/test -x /usr/local/cpanel/scripts/update_mailman_cache && /usr/local/cpanel/scripts/update_mailman_cache
30 */4 * * * /usr/bin/test -x /usr/local/cpanel/scripts/update_db_cache && /usr/local/cpanel/scripts/update_db_cache
45 */8 * * * /usr/bin/test -x /usr/local/cpanel/bin/optimizefs && /usr/local/cpanel/bin/optimizefs
30 */3 * * * /usr/local/cpanel/bin/mysqluserstore >/dev/null 2>&1
15 */3 * * * /usr/local/cpanel/bin/dbindex >/dev/null 2>&1
15 */6 * * * /usr/local/cpanel/scripts/autorepair recoverymgmt >/dev/null 2>&1
02 * * * * /usr/local/cpanel/bin/dcpumon >/dev/null 2>&1
33 4 * * * /usr/local/cpanel/whostmgr/docroot/cgi/cpaddons_report.pl --notify
0,15,30,45 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1
00 5 * * * /usr/local/cpanel/scripts/upcp --cron
00 10 * * * /usr/local/cpanel/scripts/cpbackupI modified some numbers in the file because some services were running too frequently or at the wrong time, particularily the dcpumon service. I looked all over the place to try to find out what each service does and whether or not I can safely remove it from ongoing execution. Any idea?
-
Hello :) Those are all standard cron jobs configured by the cPanel software. Is there any particular reason you prefer to remove them? Thank you. 0 -
[quote="cPanelMichael, post: 1712912">Hello :) Those are all standard cron jobs configured by the cPanel software. Is there any particular reason you prefer to remove them? Thank you.
Yes. I want to focus the server on handling webpage requests without background processes slowing the server down. And if I can safely eliminate some without affecting the overall operation of cpanel/whm then I will.0 -
I can't recommend removing any of them because they are all related to the proper functioning of cPanel/WHM. Is there one cron job in particular that you are having trouble with (load related or otherwise)? Thank you. 0 -
[quote="cPanelMichael, post: 1712981">I can't recommend removing any of them because they are all related to the proper functioning of cPanel/WHM. Is there one cron job in particular that you are having trouble with (load related or otherwise)? Thank you.
No, but sometimes I run tests at random times on my server (particularly TTFB or time-to-first-byte tests) and sometimes I get a high number coming from my server which is bad. most of the time i get a low number. I just think that sometimes these processes will hog resources well enough to the point where the whole server slows down. If I can identify them then at least I know what to keep or remove and even if removing is a bad idea, I should be able to adjust them individually so that less system resources are being used per process.0 -
The next time you notice this problem, please review the following thread for tools/guides on how to determine the cause of the increased usage: Troubleshooting High Loads On Linux Servers This will help narrow down what particular process is causing the excessive usage. Thank you. 0
Please sign in to leave a comment.
Comments
5 comments