← Back to team overview

openstack team mailing list archive

Re: reconnecting to RabbitMQ

 

Yes. But interesting to use heartbeats like in Pika. Is kamqp supports
heartbeats now?

2011/12/29 Ask Solem <ask@xxxxxxxxxxxx>

>
> On 28 Dec 2011, at 17:26, Chris Behrens wrote:
>
> >
> > 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
> >
> >
>
> So is this issue solved by enabling TCP keepalive?
>
>


-- 
Regards, Roman Sokolkov

References