Federation is creating and closing a lot of connections per second

91 views
Skip to first unread message

João Fernandes

unread,
Oct 23, 2019, 1:32:56 PM10/23/19
to rabbitmq-users
Hi,
In an environment with 2 datacenters we have the federation plugin synchronizing the exchanges between them.
We are seeing a very odd thing in the RabbitMQ brokers logs. What we saw is that the federation is creating and then closing the created connections in a matter of seconds.

Is this normal? Is there any federation property that we can change to prevent this? I saw some information regarding "internal_exchange_check_interval".

We are using RabbitMQ 3.7.9 with Erlang 21.

RabbitMQ_Broker_Logs.png




Luke Bakken

unread,
Oct 25, 2019, 1:32:16 PM10/25/19
to rabbitmq-users
Hi João,

How are you certain these are Federation connections?

Thanks -
Luke

João Fernandes

unread,
Oct 25, 2019, 2:33:38 PM10/25/19
to rabbitmq-users
Hi,
I'm certain because the machine where the connections come is only running RabbitMQ which is connected to this one through federation.

10.10.1.154 - RabbitMQ Broker (dc1)
10.20.1.154 - RabbitMQ Broker (dc2)

Regards,
João Fernandes

Luke Bakken

unread,
Oct 25, 2019, 2:45:02 PM10/25/19
to rabbitmq-users
Thanks for confirming that.

I'm assuming that you see these connections happen about every 30 seconds, because that's the default check interval:


You'll see this check happen per-Federation link. How many Federation links do you have?

João Fernandes

unread,
Oct 28, 2019, 4:33:51 PM10/28/19
to rabbitmq-users
I don't have access to the environement now but since we have federation by exchange we should have a few hundreds I believe.

But what I found odd is that it seems that the same connection that is being open is being closed right after and not after 30 seconds.
Reply all
Reply to author
Forward
0 new messages