RabbitMq Connections

48 views
Skip to first unread message

srikanth ambadipudi

unread,
Jun 23, 2021, 6:55:04 AM6/23/21
to rabbitm...@googlegroups.com
Hi All,

I am using currently using " RabbitMQ 3.8.14"  "Erlang 23.3.1"
OS: Ubuntu
Cloud: AWS

I can see under "connections" tab, no.of connections count was increasing day by day. Is there any housekeeping activity do i need to configure on this.
1) How to check are these 16k connections are valid/zombie/stale?
2) If any connection, is nvalid/zombie/stale in that case how i can close it?

image.png
Can you please help me to understand on this.

Thanks,
Srikanth

Michal Kuratczyk

unread,
Jun 23, 2021, 7:05:38 AM6/23/21
to rabbitm...@googlegroups.com
Hi,

If you don't expect the number of connections to keep growing (no new apps/users etc) then this is likely a connection leak problem on the application side. If so, you need to fix it in your applications.

On the server side, some commands to start with:
rabbitmqctl list_connections
rabbitmqctl close_all_connections
rabbitmqctl close_all_user_connections


Best,

--
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 view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/CA%2B6QRNQiMkUsTcBB63Y2nX-8t7EQiD-NSCc5P4NTUWtEqJk-3w%40mail.gmail.com.


--
Michał
RabbitMQ team

srikanth ambadipudi

unread,
Jun 23, 2021, 7:15:20 AM6/23/21
to rabbitm...@googlegroups.com
Thanks for your quick reply,

Last question, any way to check connections leak from application side.



Brian Richardson

unread,
Jun 23, 2021, 7:28:54 AM6/23/21
to rabbitm...@googlegroups.com
Hello Srikanth,

You can use the connection monitor in the RabbitMQ management tools (e.g.) to monitor connections while you are debugging.

Regards,


Brian Richardson
IT Architect

From: rabbitm...@googlegroups.com <rabbitm...@googlegroups.com> on behalf of srikanth ambadipudi <vmsrik...@gmail.com>
Sent: Wednesday, June 23, 2021 5:15:01 AM
To: rabbitm...@googlegroups.com <rabbitm...@googlegroups.com>
Subject: Re: [rabbitmq-users] RabbitMq Connections
 
Reply all
Reply to author
Forward
0 new messages