[rabbitmq-discuss] Open Connections when sender closes
michael at rabbitmq.com
Tue Oct 8 10:23:23 BST 2013
On oct 8, 2013, at 12:21 a.m., Warrick Fitzgerald <warrick.fitzgerald at gmail.com> wrote:
> Obviously after this happens a few times there's a lot of connections open to RabbitMQ.
> How should this be handled? Does the server have some kind of timeout of heartbeat that can be used so that it cleans up the connections that are no longer in use?
Those connections are very likely to be in TIME_WAIT state.
Yes, detecting peer failure early is exactly what AMQP 0-9-1 heartbeats
were added for:
Alternatively you can try enabling SO_LINGER on the socket (if your client
allows modifying socket options).
which is the same question about a specific client.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the rabbitmq-discuss