<div>Hi,</div><div><br></div>All the queues were long lived.<div>There was only a single exchange all queues bound to that exchange, all queues were durable.�</div><div><br></div><div>The routing key was an individual string for each queue.</div>

<div><br></div><div>-Abhishek Kona</div><div><div><div><br><div class="gmail_quote">On Wed, Aug 3, 2011 at 10:55 PM, Jason J. W. Williams <span dir="ltr">&lt;<a href="mailto:jasonjwwilliams@gmail.com">jasonjwwilliams@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">What was the configuration of the exchanges (type), queues (type and<br>
flags) and bindings? Also were the queues long-lived or are they being<br>
created and destroyed constantly?<br>
<font color="#888888"><br>
-J<br>
</font><div><div></div><div class="h5"><br>
On Wed, Aug 3, 2011 at 11:17 AM, Abhishek K &lt;<a href="mailto:abhishek.kona@gmail.com">abhishek.kona@gmail.com</a>&gt; wrote:<br>
&gt; I am using Erlang R12B. The server had around 20GB of Ram.<br>
&gt; There were around 30 queues on the server with the total memory consumption<br>
&gt; calculated with<br>
&gt; $ rabbitmqctl list_queues name memory<br>
&gt; -Abhishek Kona<br>
&gt;<br>
&gt; Abhishek Kona<br>
&gt; Department of Computer Engineering<br>
&gt; National Institute of Technology<br>
&gt; Karnataka, India<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Aug 3, 2011 at 5:21 PM, Emile Joubert &lt;<a href="mailto:emile@rabbitmq.com">emile@rabbitmq.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi Abhishek,<br>
&gt;&gt;<br>
&gt;&gt; On 03/08/11 11:15, Abhishek K wrote:<br>
&gt;&gt; &gt; I am running RabbitMQ 2.20 on Debian Lenny (2.6.26).<br>
&gt;&gt; &gt; There was no changes in the code using RabbitMQ, only the usage rate<br>
&gt;&gt; &gt; increased by 20%.<br>
&gt;&gt;<br>
&gt;&gt; You don&#39;t mention the version of Erlang you use. It is worth bearing in<br>
&gt;&gt; mind that later versions of Erlang do better garbage collection. Also,<br>
&gt;&gt; how much RAM is installed on the server? You should generally expect<br>
&gt;&gt; that Erlang / RabbitMQ will use as much RAM as it can.<br>
&gt;&gt;<br>
&gt;&gt; You said that the broker uses 11GB RAM and that the queue size was 7MB -<br>
&gt;&gt; how were these figures determined? If that 7MB is distributed across a<br>
&gt;&gt; large number of queues then that is a possible explanation for the high<br>
&gt;&gt; memory usage. If the startup after a clean �shutdown takes an inordinate<br>
&gt;&gt; amount of time then you might have more than 7MB worth of messages on<br>
&gt;&gt; the broker.<br>
&gt;&gt;<br>
&gt;&gt; You should also inspect the results from running all the &quot;rabbitmqctl<br>
&gt;&gt; list_*&quot; commands to make sure your application isn&#39;t using up too many<br>
&gt;&gt; resources (e.g. queues or exchanges) on the broker.<br>
&gt;&gt;<br>
&gt;&gt; RabbitMQ version 2.5.1 adds more memory reporting features to the<br>
&gt;&gt; &quot;rabbitmqctl status&quot; command, with a breakdown of where memory is being<br>
&gt;&gt; used. This is not available on version 2.2.0, but it is another possible<br>
&gt;&gt; reason to upgrade.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Regards<br>
&gt;&gt;<br>
&gt;&gt; Emile<br>
&gt;<br>
&gt;<br>
</div></div><div><div></div><div class="h5">&gt; _______________________________________________<br>
&gt; rabbitmq-discuss mailing list<br>
&gt; <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
&gt; <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>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div></div></div>