When connectivity to the RabbitMQ broker is interrupted like a RabbitMQ cluster to temporarily not being available because there is no connectivity possible or the cluster is in a minority and does not accept messages it will start to leak connections.
Due to connections not being released the broker can reach its connection limit and reject any new connections causing outage of those services.
Expected behavior
No connections should be leaking when connectivity to the broker is restored and resources should be released.
Actual behavior
Connections are not released and require a restart of ServiceControl to release.
Below is for version 5.2.4
Before:
After:
Versions
5.0.5
5.2.4
Please list the version of the relevant packages or applications in which the bug exists.
Steps to reproduce
Install SC 5.2.4 primary/audit with RabbitMQ
Stop the broker
Wait a couple of minutes (likely passed the 2 minute period to raise a critical error)
Start the broker
Observe the connections being restored
Wait a while (2 minutes max)
Observe slowly more connections being restored
Relevant log output
No response
Additional Information
Workarounds
Restarting ServiceControl will release all connections
Describe the bug
Description
When connectivity to the RabbitMQ broker is interrupted like a RabbitMQ cluster to temporarily not being available because there is no connectivity possible or the cluster is in a minority and does not accept messages it will start to leak connections.
Due to connections not being released the broker can reach its connection limit and reject any new connections causing outage of those services.
Expected behavior
No connections should be leaking when connectivity to the broker is restored and resources should be released.
Actual behavior
Connections are not released and require a restart of ServiceControl to release.
Below is for version 5.2.4
Before:
After:
Versions
Please list the version of the relevant packages or applications in which the bug exists.
Steps to reproduce
Relevant log output
No response
Additional Information
Workarounds
Restarting ServiceControl will release all connections
Possible solutions
Additional information