<div dir="ltr">Looks like it was the load balancer (LB), as you suggested, because when we configured the code to go direct at a specific node in the cluster rather than via the LB it works as expected.<div><br></div><div>
Wrt the AMQP heartbeat. We are using the official >NET client and I am now setting the�RequestedHeartbeat property, on the factory, to 10 (seconds).�</div><div><br></div><div>Is that how I control that heartbeat? It was defaulting �0.</div>
<div><br></div><div>Thanks</div><div><br></div><div>Patrick</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 30 January 2014 17:28, Simon MacMullen <span dir="ltr"><<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 30/01/14 17:26, Patrick Long wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The load balancer closing connections would look something like this in<br>
the RMQ logs, yes?<br>
<br>
=WARNING REPORT==== 30-Jan-2014::15:25:08 ===<br>
closing AMQP connection <0.31743.12> (<a href="http://10.206.20.1:2750" target="_blank">10.206.20.1:2750</a><br>
<<a href="http://10.206.20.1:2750" target="_blank">http://10.206.20.1:2750</a>> -> <a href="http://10.206.20.167:5672" target="_blank">10.206.20.167:5672</a><br>
<<a href="http://10.206.20.167:5672" target="_blank">http://10.206.20.167:5672</a>>):<br>
connection_closed_abruptly<br>
</blockquote>
<br>
Yes.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Those happen between 1 and 3 times a minute. Is this a common problem?<br>
We obviously need load balancing to make use of clustering.<br>
<br>
Is there a way of keeping the connection Alive?<br>
</blockquote>
<br>
That's down to how the load balancer is configured. If the load balancer is closing connections because it perceives them to be inactive, lowering the AMQP heartbeat interval might prevent you from having to reconfigure the load balancer.<br>

<br>
Cheers, Simon<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Simon MacMullen<br>
RabbitMQ, Pivotal<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Patrick Long - Munkiisoft Ltd
</div>