so I've moved to a new hosting provider and I'm seeing a lot of crons that I didn't have on my old one. On CENTOS 6.9 x86_64 kvm – server cPanel & WHM 64.0 (build 24)
There are certain times where my server just locks up and cant access anything because cpu is hitting 20 out of 2 cpus and memory nearing 60% needing to use swap. Checking top command it is usually php-cgi and mysqld doing most of the damage and every now and again rpm.
But my question is which ones are essential here. I don't require backups of my files I don't want any updates I don't use server email. I just have a wordpress website installed. which do I remove. Sorry but I really am a n00b 
Forgot the add funny thing is whenever I turn on cloudflare I'm under attack mode (ddos protection) cpu usage usually drops down quite rapidly. So I really don't know if it has anything to do with crons or that someone is just curling my site or ddos. Im just confused. but still pretty sure there must be a few crons there that is not needed.
There are certain times where my server just locks up and cant access anything because cpu is hitting 20 out of 2 cpus and memory nearing 60% needing to use swap. Checking top command it is usually php-cgi and mysqld doing most of the damage and every now and again rpm.
Code:
0 6 * * * /usr/local/cpanel/scripts/exim_tidydb > /dev/null 2>&1
30 5 * * * /usr/local/cpanel/scripts/optimize_eximstats > /dev/null 2>&1
39 5 * * * /usr/local/cpanel/whostmgr/docroot/cgi/cpaddons_report.pl --notify
10 0 * * * /usr/local/cpanel/scripts/upcp --cron
0 1 * * * /usr/local/cpanel/scripts/cpbackup
0 2 * * * /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
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
*/5 * * * * /usr/local/cpanel/scripts/dcpumon-wrapper >/dev/null 2>&1
2,17,32,47 * * * * /usr/local/cpanel/whostmgr/bin/dnsqueue > /dev/null 2>&1
09,39 * * * * /usr/local/cpanel/scripts/clean_user_php_sessions > /dev/null 2>&1
Forgot the add funny thing is whenever I turn on cloudflare I'm under attack mode (ddos protection) cpu usage usually drops down quite rapidly. So I really don't know if it has anything to do with crons or that someone is just curling my site or ddos. Im just confused. but still pretty sure there must be a few crons there that is not needed.