laravel在使用队列的写日志的时候,由于日志太多导致,supervisor的进程报错:supervisor Exited too quickly:

agile-queue-log-listener:agile-queue-log-listener_00 FATAL      Exited too quickly (process log may have details)

查了半天,发现是在定义supervisor进程的时候忘了加上--daemon

command=php /home/deploy/www/sunallies-agile/artisan queue:work --queue agile.log --sleep=1 --tries=3 --daemon 

即可解决