cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.3.4 cron pile up issue

   Did you know you can see the translated content as per your choice?

Magento 2.3.4 cron pile up issue

Hi, 

 

I'm running Magento CE 2.3.4 with php7.3 and I face a problem on the cron jobs that mutiply themselves on the server. After few days, I have up to 10x times the cron tasks and start to have too many DB connexions.

 

Here are the tasks that multiply themselves:

13507 ?        S      0:00 /usr/sbin/CRON -f
13509 ?        Ss     0:00 /bin/sh -c /usr/bin/php7.3 /var/www/html/magento2/bin/magento cron:run 2>&1 | grep -v "Ran jobs by schedule" >> /var/www/html/magento2/var/log/magento.cron.log
13513 ?        S      0:00 grep -v Ran jobs by schedule
13536 ?        S      2:56 /usr/bin/php7.3 /var/www/html/magento2/bin/magento queue:consumers:start product_action_attribute.update --single-thread --max-messages=2000
13538 ?        S      2:57 /usr/bin/php7.3 /var/www/html/magento2/bin/magento queue:consumers:start product_action_attribute.website.update --single-thread --max-messages=2000
13540 ?        S      2:56 /usr/bin/php7.3 /var/www/html/magento2/bin/magento queue:consumers:start exportProcessor --single-thread --max-messages=2000

The problem was the same with M2 CE 2.3.3 and I didn't found anything releavant to solve this issue or to pinpoint the root cause.

 

If anyone have faced this issue and found a fix, I will be happy to share.

 

Best regards,

Yannick

 

1 REPLY 1

Re: Magento 2.3.4 cron pile up issue

I've been seeing very similar behaviour, but only in one of my 4 environments.