Category : supervisord

Issue – I have failing workers because of Deadlock caused at JOBS table, while deleting entries of jobs. This behaviour is frequent in occurrence, even over slight increase in traffic. Need suggestions to avoid this Deadlock ? Configuration – Using Laravel queues with QUEUE_DRIVER=database Supervisor as queue manger DB is MySQL Logs – {"message":"SQLSTATE[40001]: Serialization ..

Read more

i m getting error websockets: ERROR (spawn error) i m following this doc https://beyondco.de/docs/laravel-websockets/basic-usage/starting#keeping-the-socket-server-running-with-supervisord i created websockets.conf [program:websockets] command=/usr/bin/php /var/www/html/myproject websockets:serve numprocs=1 autostart=true autorestart=true user=ubuntu then ran cmd supervisorctl update it is fine supervisorctl start websockets this cmd give me error websockets: ERROR (spawn error) any solution thanks Sourc..

Read more

Im having a problem with getting queues to work on my prod environment. I am using Elastic Beanstalk to deploy my Laravel Application. To start the queue workers i am using supervisor with the following config: [program:laravel-worker] process_name=%(program_name)s_%(process_num)02d command=php /var/www/html/artisan queue:work database –sleep=3 –tries=2 –daemon autostart=true autorestart=true numprocs=1 redirect_stderr=true stdout_logfile=/var/www/html/storage/logs/laravel.log stopwaitsecs=3600 In my prebuild commands ..

Read more