1

I had a django project where i am using celery. But, when i start the celery worker by django using the command

python manage.py celery worker

it kept printing the error message about the thread exiting

[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

what should i do?

Chillar Anand
  • 27,936
  • 9
  • 119
  • 136
jacky15
  • 41
  • 3

1 Answers1

0

I strat the worker with the wrong command,

it should be python manage.py celery -A proj worker --settings=settings

jacky15
  • 41
  • 3