Laravelのqueue workerを使っていたらFATALで死んでいた
$ sudo supervisorctl status laravel-xxxx-queue FATAL Exited too quickly (process log may have details) (略)
一時対応として、
$ sudo supervisorctl start all $ sudo supervisorctl status laravel-xxxx-queue RUNNING pid 29482, uptime 0:00:03 (略)
start allさせることでRUNNINGにははなった。
設定に加える
# n秒より早くプロセスが終了した場合は起動に失敗したとし、自動起動させない default:1 startsecs=0
The total number of seconds which the program needs to stay running after a startup to consider the start successful (moving the process from the STARTING state to the RUNNING state). Set to 0 to indicate that the program needn’t stay running for any particular amount of time.
Note
Even if a process exits with an “expected” exit code (see exitcodes), the start will still be considered a failure if the process exits quicker than startsecs.
http://supervisord.org/configuration.html#program-x-section-settings