[rabbitmq-discuss] Temporary queue being made when task fails
msteele at beringmedia.com
Mon Aug 22 15:42:41 BST 2011
Incidentally, I have also seen this behavior (where autodelete queues
don't get deleted). I'm assuming it's a bug.
Bering Media Inc.
On Mon, Aug 22, 2011 at 3:14 AM, SiddharthSaha <sidchilling at gmail.com> wrote:
> I am using Celery with RabbitMQ. Lately, I have noticed that a large
> number of temporary queues are getting made.
> So, I experimented and found that when a task fails (that is a tasks
> raises an Exception), then a temporary queue with a random name (like
> c76861943b0a4f3aaa6a99a6db06952c) is formed and the queue remains.
> Some properties of the temporary queue as found in rabbitmqadmin are
> as follows -
> auto_delete : True consumers : 0 durable : False messages : 1
> messages_ready : 1
> And one such temporary queue is made everytime a task fails (that is,
> raises an Exception). How to avoid this situation? Because in my
> production environment a large number of such queues get formed.
> I do not want this temporary queue to be made. When a task fails, I
> want that the task is tried one more time and even though it fails,
> the temporary queue should not be made.
> How can I do that?
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
More information about the rabbitmq-discuss