Forcefully close a channel of an active connection

222 views
Skip to first unread message

Rahul Bansal

unread,
Jun 9, 2019, 12:04:09 PM6/9/19
to rabbitmq-users
I would like to forcefully close all channels of all connections whose states are idle.

How can I do that with Rabbitmq command line interface ?

Michael Klishin

unread,
Jun 30, 2019, 7:07:36 PM6/30/19
to rabbitmq-users
List the connections, then filter out some and close them. It would be easier to do using the HTTP API.

I'd be very careful with this as a "mostly active" connection can be temporarily idle. In other words, I see a high risk of
false positives with this approach. Checking if a connection is idle, say, 80% of the time and then closing it would be much safe.

On Sun, Jun 9, 2019 at 6:04 PM Rahul Bansal <rahul....@knowlarity.com> wrote:
I would like to forcefully close all channels of all connections whose states are idle.

How can I do that with Rabbitmq command line interface ?

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/4269a3f4-ffb4-4f76-9153-4abbb4b63812%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
MK

Staff Software Engineer, Pivotal/RabbitMQ
Reply all
Reply to author
Forward
0 new messages