主管(退出状态2;不可预期)

时间:2018-09-26 02:46:59

标签: celery ubuntu-16.04 supervisord

我正在尝试在Ubuntu上使用Supervisord运行Celery,但是得到:

INFO exited: celery (exit status 2; not expected)
INFO spawned: 'celery' with pid 15517
INFO gave up: celery entered FATAL state, too many start retries too 
quickly

这是Supervisord脚本:

cd into the directory and activate the virtual environment 
celery -A [APP_NAME].celery worker -E -l info --concurrency=2

如果我手动运行此脚本,Celery会启动,没有任何问题。但是运行sudo supervisorctl start celery时会出现上述错误消息而导致错误。

0 个答案:

没有答案