Hello,
our team is running magento 2.2 on an cluster enviroment with load balancer and multiple instances.
Weve installed the magento cronjobs for every instance which now leads to high database load.
The question is, is it enough to run magento cronjobs on only one instance?
Or are there tasks to do which are mandatory on instance scope?
If so which?
Hi @Crtl
Well if you have multiple instance of magento 2 - then yes , you need to set cronjobs for multiple instance , as each instance required cronjobs for scheduling and jobs
But its required only default cronjobs - so you can schedule for the same , Refer this link - https://devdocs.magento.com/guides/v2.0/config-guide/cli/config-cli-subcommands-cron.html
Hope it helps !
Hello @Crtl
If you are using the same DB for multiple instances then i think you need to create only one instance cron job.
Becuase code is same for all instance and db is same for all, if cron run mutiple instance same time then become race condition for that and maybe your DB crash.
Hope it will help you.