-Messages are regularly acked by the application using RabbitMQ.<div>The application is Thrift Server and before returning the Thrift RPC call, the RabbitMQ ack is sent back.</div><div><br></div><div>-Abhishek Kona<br clear="all">
<br><br><div class="gmail_quote">On Thu, Aug 4, 2011 at 1:28 PM, Alex Lovell-Troy <span dir="ltr"><<a href="mailto:alex.lovelltroy@gmail.com">alex.lovelltroy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
This sounds like the behavior I've seen when you consume messages<br>
without acking them.<br>
<br>
Does that ring a bell for anyone else?<br>
<font color="#888888"><br>
-alex<br>
</font><div><div></div><div class="h5"><br>
On Thu, Aug 4, 2011 at 3:30 AM, Abhishek K <<a href="mailto:abhishek.kona@gmail.com">abhishek.kona@gmail.com</a>> wrote:<br>
> Hi,<br>
> All the queues were long lived.<br>
> There was only a single exchange all queues bound to that exchange, all<br>
> queues were durable.<br>
> The routing key was an individual string for each queue.<br>
> -Abhishek Kona<br>
> On Wed, Aug 3, 2011 at 10:55 PM, Jason J. W. Williams<br>
> <<a href="mailto:jasonjwwilliams@gmail.com">jasonjwwilliams@gmail.com</a>> wrote:<br>
>><br>
>> 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>
>><br>
>> -J<br>
>><br>
>> On Wed, Aug 3, 2011 at 11:17 AM, Abhishek K <<a href="mailto:abhishek.kona@gmail.com">abhishek.kona@gmail.com</a>><br>
>> wrote:<br>
>> > I am using Erlang R12B. The server had around 20GB of Ram.<br>
>> > There were around 30 queues on the server with the total memory<br>
>> > consumption<br>
>> > calculated with<br>
>> > $ rabbitmqctl list_queues name memory<br>
>> > -Abhishek Kona<br>
>> ><br>
>> > Abhishek Kona<br>
>> > Department of Computer Engineering<br>
>> > National Institute of Technology<br>
>> > Karnataka, India<br>
>> ><br>
>> ><br>
>> > On Wed, Aug 3, 2011 at 5:21 PM, Emile Joubert <<a href="mailto:emile@rabbitmq.com">emile@rabbitmq.com</a>><br>
>> > wrote:<br>
>> >><br>
>> >> Hi Abhishek,<br>
>> >><br>
>> >> On 03/08/11 11:15, Abhishek K wrote:<br>
>> >> > I am running RabbitMQ 2.20 on Debian Lenny (2.6.26).<br>
>> >> > There was no changes in the code using RabbitMQ, only the usage rate<br>
>> >> > increased by 20%.<br>
>> >><br>
>> >> You don't mention the version of Erlang you use. It is worth bearing in<br>
>> >> mind that later versions of Erlang do better garbage collection. Also,<br>
>> >> how much RAM is installed on the server? You should generally expect<br>
>> >> that Erlang / RabbitMQ will use as much RAM as it can.<br>
>> >><br>
>> >> You said that the broker uses 11GB RAM and that the queue size was 7MB<br>
>> >> -<br>
>> >> how were these figures determined? If that 7MB is distributed across a<br>
>> >> large number of queues then that is a possible explanation for the high<br>
>> >> memory usage. If the startup after a clean shutdown takes an<br>
>> >> inordinate<br>
>> >> amount of time then you might have more than 7MB worth of messages on<br>
>> >> the broker.<br>
>> >><br>
>> >> You should also inspect the results from running all the "rabbitmqctl<br>
>> >> list_*" commands to make sure your application isn't using up too many<br>
>> >> resources (e.g. queues or exchanges) on the broker.<br>
>> >><br>
>> >> RabbitMQ version 2.5.1 adds more memory reporting features to the<br>
>> >> "rabbitmqctl status" command, with a breakdown of where memory is being<br>
>> >> used. This is not available on version 2.2.0, but it is another<br>
>> >> possible<br>
>> >> reason to upgrade.<br>
>> >><br>
>> >><br>
>> >><br>
>> >> Regards<br>
>> >><br>
>> >> Emile<br>
>> ><br>
>> ><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>
>> ><br>
>> ><br>
><br>
><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>
><br>
><br>
</div></div></blockquote></div><br></div>