[Openstack] reconnecting to RabbitMQ

Chris Behrens chris.behrens at RACKSPACE.COM
Wed Dec 28 17:26:41 UTC 2011


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






More information about the Openstack mailing list