<div dir="ltr">20 seconds is a good heartbeat interval for most load balancers that I have tried. -ml</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 30, 2014 at 12:28 PM, 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"><div class="im">On 30/01/14 17:26, Patrick Long wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
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></div>
<<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.<div class="im"><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></div>
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.<div class="im HOEnZb">
<br>
<br>
Cheers, Simon<br>
<br>
-- <br>
Simon MacMullen<br>
RabbitMQ, Pivotal<br></div><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><br>
</div></div></blockquote></div><br></div>