【发布时间】:2015-07-31 15:57:54
【问题描述】:
当我运行 celerybeat 服务时,我收到了大量收到的任务:
[2015-07-31 11:15:46,593: INFO/MainProcess] Received task: tasks2.energy[89544]
[2015-07-31 11:15:46,594: INFO/MainProcess] Received task: tasks2.energy[97083]
[2015-07-31 11:15:46,594: INFO/MainProcess] Received task: tasks2.energy[3d476]
其他帖子说要清除所有队列。但是,我一直遇到诸如标题中的错误。这是参考的帖子: Delete all the queues from RabbitMQ?
我运行rabbitmqctl stop_app,我得到了
DIAGNOSTICS
===========
attempted to contact: [rabbit@localhost]
rabbit@localhost:
* connected to epmd (port 4369) on localhost
* epmd reports: node 'rabbit' not running at all
other nodes on localhost: ['rabbitmq-cli-16558']
* suggestion: start the node
current node details:
- node name: 'rabbitmq-cli-16558@Pete_Zahut's-MacBook-Pro'
- home dir: /var/root
- cookie hash: Pete Zahut
当我运行rabbitmqadmin list queues name 时,我得到了
Could not connect: [Errno 61] Connection refused
【问题讨论】:
标签: linux terminal rabbitmq celery