cancel
Showing results for 
Search instead for 
Did you mean: 

cron job kills mysql server

SOLVED

cron job kills mysql server

Hello everybody, 

 

since some days we have problems with out magento server (CE 2.2.1). We figured out that the following line in the crontab 

 

* * * * * <path to php binary> <magento install dir>/bin/magento cron:run | grep -v "Ran jobs by schedule" >> <magento install dir>/var/log/magento.cron.log

ask so much work of the mysql server that the machine runs out of memory!

 

Do you have any idea how we may debug this problem?

 

Best regards, 

Fabianus

 

2 REPLIES

Re: cron job kills mysql server

Hi @fabianus,

 

I saw what you describe (my laptop was almost freeze beacuse the CPU was wokring at 100% all the time).

It seems is a bug and is currently open: https://github.com/magento/magento2/issues/11002

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"

Re: cron job kills mysql server


@Damian Culottawrote:

Hi @fabianus,

 

I saw what you describe (my laptop was almost freeze beacuse the CPU was wokring at 100% all the time).

It seems is a bug and is currently open: https://github.com/magento/magento2/issues/11002


Saved my butt, thanks man!