Celeryd With Rabbitmq Hangs On "mingle: Searching For Neighbors", But Plain Celery Works
I'm banging my head to the wall with celeryd and RabbitMQ. This example from tutorial is working just fine: from celery import Celery app = Celery('tasks', backend='amqp', broker
Solution 1:
If you use the Database backend, adding the following options to celery should solve the problem:
--without-mingle
Solution 2:
I got a hunch from this message:
[2014-11-1816:20:17,216: WARNING/MainProcess] /usr/local/lib/python2.7/dist-packages/kombu/transport/librabbitmq.py:163: UserWarning:
librabbitmq version too oldto detect RabbitMQ version information
so make sure you areusing librabbitmq 1.5whenusing rabbitmq >3.3
warnings.warn(UserWarning(W_VERSION))
So for some reason I had librabbitmq1 apt package and it was too old.
And it turns out that problem was librabbitmq1 package. I removed it with:
sudo apt-getremove librabbitmq1
And the python Celery/RabbitMQ libs did some kind of fallback to some other (maybe plain-python?) implementation which works!
Solution 3:
Check your free disk space. RabbitMQ requires 1Gb of free space by default.
Post a Comment for "Celeryd With Rabbitmq Hangs On "mingle: Searching For Neighbors", But Plain Celery Works"