[rabbitmq-discuss] RabbitMQ Issues -> Losing confidence in it.

Emile Joubert emile at rabbitmq.com
Wed Aug 3 12:51:10 BST 2011

Hi Abhishek,

On 03/08/11 11:15, Abhishek K wrote:
> I am running RabbitMQ 2.20 on Debian Lenny (2.6.26).
> There was no changes in the code using RabbitMQ, only the usage rate
> increased by 20%.

You don't mention the version of Erlang you use. It is worth bearing in
mind that later versions of Erlang do better garbage collection. Also,
how much RAM is installed on the server? You should generally expect
that Erlang / RabbitMQ will use as much RAM as it can.

You said that the broker uses 11GB RAM and that the queue size was 7MB -
how were these figures determined? If that 7MB is distributed across a
large number of queues then that is a possible explanation for the high
memory usage. If the startup after a clean  shutdown takes an inordinate
amount of time then you might have more than 7MB worth of messages on
the broker.

You should also inspect the results from running all the "rabbitmqctl
list_*" commands to make sure your application isn't using up too many
resources (e.g. queues or exchanges) on the broker.

RabbitMQ version 2.5.1 adds more memory reporting features to the
"rabbitmqctl status" command, with a breakdown of where memory is being
used. This is not available on version 2.2.0, but it is another possible
reason to upgrade.



More information about the rabbitmq-discuss mailing list