芹菜卡在混合中:寻找邻居,没有进入准备状态 [英] celery stuck at mingle: searching for neighbors, doesn't get to ready state
本文介绍了芹菜卡在混合中:寻找邻居,没有进入准备状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我用10个线程为我的项目运行了celery.它工作得很好.现在,当我使用命令时:
I had run celery for my project using 10 threads. It worked perfectly. Now, when i use the command:
celery -A tasks worker --loglevel=info --concurrency 10
芹菜卡在了:
[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
此后,它显示就绪状态.
,当我尝试使用 ctrl + c 结束此操作时,它不会关闭.
and when i try to end this using ctrl+c, it doesn't shutdown.
[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 task to the workers, but it doesn't work.
我想让芹菜处于准备状态?有人可以帮忙吗?
I want to celery to be at ready state? can anybody help?
我还需要一种正确的方法来结束芹菜的加工过程,包括任务,排队和工作人员.谢谢.
Also I need a proper way to end celery process, including tasks,queues annd workers. thanks.
推荐答案
检查可用磁盘空间.默认情况下,RabbitMQ需要1Gb的可用空间.
Check your free disk space. RabbitMQ requires 1Gb of free space by default.
这篇关于芹菜卡在混合中:寻找邻居,没有进入准备状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文