<font face="trebuchet ms,sans-serif">Following up on this issue, the problem has worsened to a great extent. Here&#39;s a bit more information about the setup.</font><div><font face="&#39;trebuchet ms&#39;, sans-serif">Two brokers B1 and B2, running version 2.7.1 and Erlang R14B04 on Windows, about 15000 km away from each other. Both machines running the brokers are physical machines with several cores, lots of RAM, fast disks, and reported no problems in disk access, CPU or memory consumption.�</font></div>

<div><font face="&#39;trebuchet ms&#39;, sans-serif"><br></font></div><div><font face="&#39;trebuchet ms&#39;, sans-serif">We have two federated durable topic exchanges X1 and X2, the upstream connection to the other broker is configured with an hearbeat of a few seconds and the prefetch count is 100. X1 is bidirectionally federated with max_hops = 1 to prevent messages from going in loops (which nonetheless suffer the additional roundtrip before being discarded, a problem I reported a while ago), X2 unidirectionally federated from B1 to B2. Messages are all published on B1, all those published on X1 are persistent, while those published on X2 aren&#39;t. Messages are published on X1 with an average rate of 3 msg/sec, and on X2 with an average rate of 10 msg/sec.</font></div>

<div><font face="&#39;trebuchet ms&#39;, sans-serif"><br></font></div><div><font face="&#39;trebuchet ms&#39;, sans-serif">What we experienced is that messages published on X1 queue up on the outgoing queue on B1, and even worse on the outgoing queue on B2 (although we don&#39;t care about them as the would be discarded once delivered thanks to the max_hops setting). Looking at the Web UI it appears that the acknowledges for those messages come in more slowly than messages are published, but I really can&#39;t understand why this might be the case, given the very low publish rate. The visible effect is a delay of even several minutes between when a message is published on B1 and received on B2, but again, only for the low-rate messages published on X1 (perhaps even worse for the other direction if the messages were not thrown away by the federation because of the max_hops setting, as the outgoing queue on B2 has several thousands of messages versus the few hundreds of that on B1). In other words, the only difference between the two federated exchanges appears to be the bidirectionality of the first versus the unidirectionality of the second and the fact that those published on the first are persistent.</font></div>

<div><span style="font-family:&#39;trebuchet ms&#39;,sans-serif">The logs of the two brokers contain apparently no relevant information, and the network link between the two has always appeared to be in a good state.</span><br>

</div><div><font face="&#39;trebuchet ms&#39;, sans-serif"><br></font></div><div><font face="&#39;trebuchet ms&#39;, sans-serif">Any help is appreciated</font></div>
<div><br><div class="gmail_quote">On Sat, Mar 17, 2012 at 05:09, Busoli, Simone <span dir="ltr">&lt;<a href="mailto:Simone.Busoli@ferrari.com" target="_blank">Simone.Busoli@ferrari.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">








<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><font face="Calibri"><span style="font-size:11.0pt">Hello, I�ve experienced an unexpected behavior with a federated exchange whereby messages would build-up on the upstream queue for no apparent reasons.<u></u><u></u></span></font></p>



<p class="MsoNormal"><font face="Calibri"><span style="font-size:11.0pt">The network link seemed ok, as well as the two machines on which the brokers are installed.<u></u><u></u></span></font></p>
<p class="MsoNormal"><font face="Calibri"><span style="font-size:11.0pt">I would like to know under which circumstances the federation plugin on the downstream would slowdown pulling messages from the upstream.<u></u><u></u></span></font></p>



<p class="MsoNormal"><font face="Calibri"><span style="font-size:11.0pt"><u></u>�<u></u></span></font></p>
<p class="MsoNormal"><font face="Calibri"><span style="font-size:11.0pt">Thanks<u></u><u></u></span></font></p>
</div>
</div>
<p><font size="1">_________________________________________________________________________________________________________________<br>Questo messaggio e da intendersi esclusivamente ad uso del destinatario e puo contenere informazioni che sono di natura privilegiata, confidenziale<br>


o non divulgabile secondo le leggi vigenti. Se il lettore del presente messaggio non e il destinatario designato, o il dipendente/agente responsabile<br>per la consegna del messaggio al destinatario designato, si informa che ogni disseminazione, distribuzione o copiatura di questa comunicazione e <br>


strettamente proibita anche ai sensi del decreto legislativo 196/03 . Se avete ricevuto questo messaggio per errore, vi preghiamo di notificarcelo<br>immediatamente a mezzo e-mail di risposta e successivamente di procedere alla cancellazione di questa e-mail e relativi allegati dal vostro sistema.<br>


_________________________________________________________________________________________________________________<br>This message is intended only for the use of the addressee and may contain information that is privileged, confidential and exempt from <br>


disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the <br>message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly <br>


prohibited. If you have received this e-mail in error, please notify us immediately by return e-mail and delete this e-mail and all attachments from <br>your system.<br>_________________________________________________________________________________________________________________<br>


</font></p>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>