I am using celery with a rabbitmq backend. It is producing thousands of queues with 0 or 1 items in them in rabbitmq like this:
$ sudo rabbitmqctl list_queue
Use CELERY_TASK_RESULT_EXPIRES (or on 4.1 CELERY_RESULT_EXPIRES) to have a periodic cleanup task remove old data from rabbitmq.
CELERY_TASK_RESULT_EXPIRES
CELERY_RESULT_EXPIRES
http://docs.celeryproject.org/en/master/userguide/configuration.html#std:setting-result_expires