<p>What are the avg sizes and the size of a msg that is slow?� Network?� Mtu,nagle?�� Does your NIC have tcp offload?� As a black magic solution ser your system to use deadline schedulerr to see if its worse or better?<br>

jacques</p>
<div class="gmail_quote">On Jul 24, 2012 11:39 AM, &quot;Francesco Mazzoli&quot; &lt;<a href="mailto:francesco@rabbitmq.com">francesco@rabbitmq.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Brennan,<br>
At Mon, 23 Jul 2012 15:57:24 -0400,<br>
Brennan Sellner wrote:<br>
&gt; The rabbitmq server (v2.8.2) is running on the same machine, so there aren&#39;t<br>
&gt; any external networks involved. �We&#39;re still running Fedora 11 (kernel 2.6.29,<br>
&gt; Erlang R12B-5.8) for the moment, if that&#39;s relevant.<br>
<br>
Please upgrade both RabbitMQ and Erlang if you can (especially rabbit), or<br>
things will be hard to diagnose for us.<br>
<br>
&gt; Time 0.90: The consumer receives and responds to an AMQP heartbeat from<br>
&gt; the server, and acks the delivery of a prior message. �It again drops<br>
&gt; into an amqp_simple_wait_frame.<br>
<br>
That does not sound right, heartbeats require no response.<br>
<br>
&gt; My understanding is that when dealing solely with non-persistent<br>
&gt; messages, Rabbit won&#39;t hit the disk until it runs out of RAM. �Is that<br>
&gt; accurate?<br>
<br>
It is accurate, but your understanding of &quot;runs out of RAM&quot; might be misguided:<br>
rabbit will start swapping to disc when the RAM used exceeds `total_ram *<br>
vm_memory_high_watermark&#39;, where `vm_high_watermark&#39; is a configurable<br>
application variable, with 0.4 as default:<br>
<a href="http://www.rabbitmq.com/configure.html" target="_blank">http://www.rabbitmq.com/configure.html</a> .<br>
<br>
&gt; Any ideas as to what else might cause this sort of delay, or suggestions on<br>
&gt; how to get further useful information?<br>
<br>
I would say that the most likely thing to be happening is for rabbit to start<br>
paging to disc, so please check that first. �You can monitor your disc space<br>
usage with the rabbitmq management plugin.<br>
<br>
You might also be hitting flow control, but that is related to running out of<br>
RAM. �You can check that as well via the management plugin, the connections will<br>
be marked as &quot;blocked&quot;.<br>
<br>
Another option could be that you are running out of file descriptors (maybe you<br>
have a large number of connections open?) and rabbit is blocking until some are<br>
available.<br>
<br>
--<br>
Francesco * Often in error, never in doubt<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">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>
</blockquote></div>