[rabbitmq-discuss] RabbitMQ manager and Idle queues
Antoine Berry
aberry at sophiacom.fr
Tue Apr 16 13:50:15 BST 2013
Hello everybody,
We have a little problem with the rabbitMQ management plugin. Basically
we would want to delete the Idle queues. So to do that we send a http
request to the rabbitMQ management plugin REST API, to get the value of
the "last_event" field.
But we always get last_event = now, even though we haven't used the
queue nor the virtual host in general for a day... Plus these queues
don't even have any consumers, and the application is not even running.
And all the queues are marked as active in the web management page too.
Here are an exemple of request, and a screen shot of the web manager
page, which shows a queue without any consumers but marked as active :
HTTP/1.1 200 OK
Server: MochiWeb/1.1 WebMachine/1.9.0 (someone had painted it blue)
Date: Tue, 16 Apr 2013 09:54:44 GMT
Content-Type: application/json
Content-Length: 909
Cache-Control: no-cache
{"policy":"","exclusive_consumer_tag":"","messages_ready":0,"messages_unacknowledged":0,"messages":0,"consumers":0,"active_consumers":0,"memory":44356,"backing_queue_status":{"q1":0,"q2":0,"delta""delta","undefined",0,"undefined"],"q3":0,"q4":0,"len":0,"pending_acks":0,"target_ram_count":"infinity","ram_msg_count":0,"ram_ack_count":0,"next_seq_id":66,"persistent_count":0,"avg_ingress_rate":0.0,"avg_egress_rate":0.0,"avg_ack_ingress_rate":0.0,"avg_ack_egress_rate":0.0},"messages_details":{"rate":0.0,"interval":10001924,"last_event":1366106079385},"messages_ready_details":{"rate":0.0,"interval":10001924,"last_event":1366106079385},"messages_unacknowledged_details":{"rate":0.0,"interval":10001924,"last_event":1366106079385},"consumer_details"],"name":"theQueue","vhost":"myHost","durable":true,"auto_delete":false,"arguments":{},"node":"rabbit at myServer"}
Does anybody ever had this kind of problem? We're using RabbitMQ 3.0.1,
with the java client.
Thank you.
More information about the rabbitmq-discuss
mailing list