[rabbitmq-discuss] rabbitmqctl list_queues explanation needed

Sunil Arora sunil at shopsocially.com
Tue Mar 8 13:41:28 GMT 2011


Is there a simple way to purge those messages without consuming them.
These are unwanted messages generated due to mis configuration of one of our components i.e. Celery.
Thanks
Sunil
Sent from Samsung mobile

Emile Joubert <emile at rabbitmq.com> wrote:

>Hi Sunil,
>
>On 08/03/11 10:15, Sunil Arora wrote:
>> Thanks Emile,
>>
>> This is indeed helpful.
>>
>> I investigated more and found out the reason behind those increasing
>> queues.
>>
>> We are using celeryd (http://celeryproject.com) and we were suppose
>> to turn off a particular settings to disable this growing queues.
>> celery was dumping new queue for every background job that was being
>> posted to RabbitMQ and we didn't need that.
>>
>> Now I want to delete these acknowledged messages. what is the best
>> way to do it ?  I do not want to flush to unacknowledged messages.
>
>You can't have acknowledged messages in a queue. Acknowledging a 
>messages tells the broker to forget about it.
>
>You don't have unacknowledged messages. The "messages_unacknowledged" 
>column in your output is empty.
>
>You have a single message in each queue which can be removed by 
>consuming it.
>
>
>Regards
>
>Emile


More information about the rabbitmq-discuss mailing list