Skip to content Skip to sidebar Skip to footer

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-18 16:20:17,216: WARNING/MainProcess] /usr/local/lib/python2.7/dist-packages/kombu/transport/librabbitmq.py:163: UserWarning:
    librabbitmq version too old to detect RabbitMQ version information
    so make sure you are using librabbitmq 1.5 when using 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-get remove 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"