I used celery for my project using 10 threads. It worked great. Now when I use the command:
celery -A tasks worker --loglevel=info --concurrency 10
celery stuck in:
[2014-08-07 12:55:21,013: INFO/MainProcess] Connected to amqp://guest:**@127.0.0.1:5672// [2014-08-07 12:55:21,025: INFO/MainProcess] mingle: searching for neighbors
he previously showed the state is ready after that.
and when I try to finish this with ctrl + c , it does not shut down.
[2014-08-07 12:55:21,013: INFO/MainProcess] Connected to amqp://guest:**@127.0.0.1:5672// [2014-08-07 12:55:21,025: INFO/MainProcess] mingle: searching for neighbors ^C worker: Hitting Ctrl+C again will terminate all running tasks! worker: Warm shutdown (MainProcess) ^C worker: Cold shutdown (MainProcess) ^C worker: Cold shutdown (MainProcess) ^C worker: Cold shutdown (MainProcess) ^C worker: Cold shutdown (MainProcess) ^C worker: Cold shutdown (MainProcess) ^C worker: Cold shutdown (MainProcess)
I even tried to assign the task to workers, but it does not work.
I want celery to be ready? can anyone help?
I also need the right way to finish the celery process, including tasks, annd worker queues. thanks.
python celery
mayankchutani
source share