openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #06354
Re: reconnecting to RabbitMQ
On Dec 28, 2011, at 5:36 AM, Ask Solem wrote:
[...]
>
> amqplib does not support heartbeats so there may be cases
> where the client/server does not properly detect that the socket
> has been closed, this usually only a problem with some particular intermediate
I received a private reply from Roman which seems to indicate this is what is happening. The OS is seeing the tcp connections as ESTABLISHED still, even though they are dead. Not much an application can do there.... Sounds like enabling tcp keepalive solved the problem for him. Doing heartbeats in the app itself is another way, as you mention.
- Chris
References