I've installed supervisord
using:
sudo apt-get install supervisor
on my Ubuntu 14.04 server as per the instructions in the Laravel documentation.
I've noticed that the supervisorctl
process on my server is running constantly at extremely high usage (never below 80%, often at 99%).
The contents of my worker conf file are:
[program:interactions-worker]
process_name=%(program_name)s_%(process_num)02d
command=php /var/www/html/interactions/current/artisan queue:listen sqs --sleep=3 --tries=3
autostart=true
autorestart=true
user=ubuntu
numprocs=2
redirect_stderr=true
stdout_logfile=/var/www/html/interactions/storage/worker.log
What could be causing the process to take up so many resources?
--
andsleep
should be together:--sleep
strace
tosupervised
could give you a rough clue whatsupervised
is doing all along. My first guess would also be that it is constantly respawning the supervised process.