[rabbitmq-discuss] RabbitMQ manager and Idle queues
Antoine Berry
aberry at sophiacom.fr
Tue Apr 16 13:51:56 BST 2013
And the screenshot I was talking about...
Le 16/04/13 14:50, Antoine Berry a écrit :
> 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.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2013-04-16 at 11.50.41.png
Type: image/png
Size: 89841 bytes
Desc: not available
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130416/a4e52beb/attachment.png>
More information about the rabbitmq-discuss
mailing list