[rabbitmq-discuss] RabbitMQ Queues memory leak?

Emile Joubert emile at rabbitmq.com
Thu Apr 18 17:35:21 BST 2013


Hi Dmitry,

On 18/04/13 12:52, Dmitry Saprykin wrote:
> Could you take a look at memory consumption of cdaemon4 node. Report
> contains data for both cluster nodes.
> 
> {memory,
>      [{total,859404112},
>       {connection_procs,4832056},
>       {queue_procs,!!!189148496!!!},
> 

The difference between 1Mb and 180Mb is relatively large, even after
taking expected differences due to garbage collection into account. We
can't rule out a memory leak, but need some assistance from you to confirm.

Do you see the same asymmetry if the master node for the queues switch
from one node to the other? So if you shut the cdaemon2 node, let
cdaemon4 become the master for all the queue, turn cdaemon2 back on (it
will now be a slave node) does the memory on cdaemon2 now grow?

Have you been able to add a third node to the cluster for testing
purposes to see if memory grows on more than one slave node?

How long does it take for the memory use to reach the VM memory high
watermark? Does the memory use increase linearly?

Can you describe your messaging pattern in a bit more detail for us to
reproduce the problem - how often are new channels created when publishing?

In order to investigate further it might be helpful to execute some
diagnostic commands on the broker. Are you able to replicate the problem
in a staging or QA environment where it is safe to do this?



-Emile






More information about the rabbitmq-discuss mailing list