Celery节点失败,在pidbox上已经在重启时使用

时间:2013-09-07 12:27:51

标签: rabbitmq celeryd

我和兔子经纪人一起经营芹菜。 今天我没有celery节点 - 它不执行任务而不响应service celeryd stop命令。几次重复节点停止后,但在开始时我收到此消息:

[WARNING/MainProcess] celery@nodename ready.
[WARNING/MainProcess] /home/ubuntu/virtualenv/project_1/local/lib/python2.7/site-packages/kombu/pidbox.py:73: UserWarning: A node named u'nodename' is already using this process mailbox!

Maybe you forgot to shutdown the other node or did not do so properly?
Or if you meant to start multiple nodes on the same host please make sure
you give each node a unique node name!

  warnings.warn(W_PIDBOX_IN_USE % {'hostname': self.hostname})

有人可以建议如何解锁进程邮箱吗?

2 个答案:

答案 0 :(得分:28)

从这里http://celery.readthedocs.org/en/latest/userguide/workers.html#starting-the-worker,您可能需要唯一地命名每个节点。例如:

$ celery -A proj worker --loglevel=INFO --concurrency=10 -n worker1.%h

使用%% h

进行主管逃逸

答案 1 :(得分:-1)

我认为大日志文件或没有足够的可用空间是一个原因。 删除后一切正常