djcelery进程不断退出

时间:2014-09-23 12:39:31

标签: python django celery djcelery

我有一个django项目,我正在使用芹菜。但是,当我使用命令

启动django的芹菜工人时
python manage.py celery worker

它继续打印有关退出

的线程的错误消息
[2014-09-23 20:33:21,555: ERROR/MainProcess] Process 'Worker-4' pid:6824 exited with exitcode 1
[2014-09-23 20:33:21,555: ERROR/MainProcess] Process 'Worker-3' pid:6356 exited with exitcode 1
[2014-09-23 20:33:21,555: ERROR/MainProcess] Process 'Worker-2' pid:7528 exited with exitcode 1
[2014-09-23 20:33:21,555: ERROR/MainProcess] Process 'Worker-1' pid:5272 exited with exitcode 1

我该怎么办?

1 个答案:

答案 0 :(得分:0)

我用错误的命令启动工作程序

应为python manage.py celery -A proj worker --settings=settings