Magento – Magento 2 cron_schedule table increasing and CPU 100%

cronmagento2sql

I updated to 2.2.1 from 2.1.10 and that looked good. But my CPU is increasing a lot and it went to over 100% in a few days.

The problem is the cron jobs because also the table cron_schedule was very full with 249.000 rows.

Any idea what causes the problem in the cronjobs?

Best Answer

Maybe our questions are related

edit/update: clearing your cron_schedule table should temporarily fix your problem:

TRUNCATE cron_schedule;

to permanently fix your problem you have to find out why your cron_schedule table is growing. In my case, it is the missing mail server!

if you don't care about indexing and sending emails, you could also disable your crontab entries.