dimanche 20 mars 2016

Cron job for listening the queue every minutes crashes the mysql database server

Cron job for scheduler which runs queue listen command in background creates the excessive load in mediatemple Dv hosting server and crash mysql connnection. The processes and their children generating load look like this:

_ /usr/bin/php artisan emails:dealinit _ /usr/bin/php artisan queue:work --queue=default --delay=0 --memory=128 --sleep=3 --tries=0 --env=local

          • php /path/to/artisan schedule:run >> /dev/null 2>&1 is the command which i have used as per official documentation.


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire