Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

User1980's avatar

Best setup for Supervisor to deal with queues

Hello,

I am having problems with sometimes queue items not being sent, just staying in the jobs database.

Currently I have supervisor set on the server with these settings;

[program:laravel-worker]
command=/usr/bin/php /home/xxxxxxxxxxxx/laravel/artisan queue:work --sleep=3 --tries=3
process_name =%(program_name)s_%(process_num)02d
numprocs=8
priority=999
autostart=true
autorestart=true
startsecs=1
startretries=3
user=xxxxxxxxxxxxxx

Would oyu recommend different settings please? Are mine correct?

Thank you.

0 likes
1 reply
bugsysha's avatar

Here is the official configuration that is suggested. Pretty similar to what you have, but there are differences. So try to match it and see if it works.

Please or to participate in this conversation.