[rabbitmq-discuss] RabbitMQ fails to close connections

Tuure Laurinolli tuure.laurinolli at portalify.com
Mon Jul 29 14:35:04 BST 2013


On Jul 29, 2013, at 16:03 , Tuure Laurinolli wrote:

> Hi,
> 
> When I uncleanly disconnect a client, it is retained on RabbitMQ side apparently forever. I would not be very surprised about this if it weren't for the fact that the connection has heartbeats enabled. I would expect the server to attempt to ping the client and to disconnect it if no response is received.
> 
> The offending connections is last on the report below.  As can be seen from netstat output, the corresponding TCP connection no longer exists.

Apparently this was caused by insufficient free disk space.

> {disk_free_limit,1000000000},
> {disk_free,882683904},


It's a bit confusing that disk space limitations cause problems like eternally hanging connections, but somewhat understandable given that the hanging connection had done a publish().


More information about the rabbitmq-discuss mailing list