crons - slow server - performance issues on one server
Hi,
Usually load is around 0.58 to 1.5
But for some reason at times it goes up alot and reaches the 40.0
I'm thinking it's some crontab as it doesn't seem to be a slow query as from what I can see.
Can someone inform me if there is anything I do not need in the below list or if anything should be adjusted for performance wise. I've pasted a few of our crons below:
I noticed this cron ran every 4 hours so I changed it to run only in the early hours of the morning and changed it to the below:
0 6 * * * /usr/local/cpanel/scripts/exim_tidydb > /dev/null 2>&1
30 5 * * * /usr/local/cpanel/scripts/optimize_eximstats > /dev/null 2>&1
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
0 3 * * * /usr/bin/test -x /usr/local/cpanel/scripts/update_db_cache && /usr/local/cpanel/scripts/update_db_cache
30 */2 * * * /usr/local/cpanel/bin/mysqluserstore >/dev/null 2>&1
15 */2 * * * /usr/local/cpanel/bin/dbindex >/dev/null 2>&1
15 */6 * * * /usr/local/cpanel/scripts/autorepair recoverymgmt >/dev/null 2>&1
4 3 * * * /usr/local/cpanel/whostmgr/docroot/cgi/cpaddons_report.pl --notify
2,17,32,47 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1
0 7 * * * perl /var/cpanel/rvglobalsoft/rvsitebuilder/rvsBackup.pl 'backup' > /dev/null
*/5 * * * * /usr/local/cpanel/bin/dcpumon >/dev/null 2>&1
30 1 * * * /usr/local/bin/rkhunter -c --cronjob --update --rwo
56 5 * * * /usr/local/cpanel/whostmgr/docroot/cgi/rvsitebuilderinstaller/autoinstaller.cgi
0 4 * * * /usr/sbin/cxs --upgrade --quiet
0 0 * * 0 rm -rf /usr/local/apache/logs/archive/*.gz
2,58 * * * * /usr/local/bandmin/bandmin
0 0 * * * /usr/local/bandmin/ipaddrmap
0 4 6 * * /usr/local/cpanel/scripts/upcp --cronI noticed this cron ran every 4 hours so I changed it to run only in the early hours of the morning and changed it to the below:
0 3 * * * /usr/bin/test -x /usr/local/cpanel/scripts/update_db_cache && /usr/local/cpanel/scripts/update_db_cache-
Hello :) The following cron jobs are not standard, so you could start by temporarily disabling them to see if it makes a difference: 0 7 * * * perl /var/cpanel/rvglobalsoft/rvsitebuilder/rvsBackup.pl 'backup' > /dev/null 30 1 * * * /usr/local/bin/rkhunter -c --cronjob --update --rwo 56 5 * * * /usr/local/cpanel/whostmgr/docroot/cgi/rvsitebuilderinstaller/autoinstaller.cgi 0 4 * * * /usr/sbin/cxs --upgrade --quiet 0 0 * * 0 rm -rf /usr/local/apache/logs/archive/*.gz
Note that some of them might be required for your third-party applications to function properly. Also, please see this thread: Troubleshooting High Loads On Linux Systems Thank you.0
Please sign in to leave a comment.
Comments
1 comment