Yes. But interesting to use heartbeats like in Pika. Is kamqp supports heartbeats now? <br><br><div class="gmail_quote">2011/12/29 Ask Solem <span dir="ltr"><<a href="mailto:ask@rabbitmq.com" target="_blank">ask@rabbitmq.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div><br>
On 28 Dec 2011, at 17:26, Chris Behrens wrote:<br>
<br>
><br>
> On Dec 28, 2011, at 5:36 AM, Ask Solem wrote:<br>
> [...]<br>
>><br>
>> amqplib does not support heartbeats so there may be cases<br>
>> where the client/server does not properly detect that the socket<br>
>> has been closed, this usually only a problem with some particular intermediate<br>
><br>
> 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.<br>


><br>
> - Chris<br>
><br>
><br>
<br>
</div></div>So is this issue solved by enabling TCP keepalive?<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards, Roman Sokolkov<br>