[rabbitmq-discuss] why rabbit eating so much memory?

Rubo Liang liangrubo at bytedance.com
Tue Jul 9 15:59:08 BST 2013


hi,

My rabbit eats 25G memory, but the queues don't take to much as shown by
this command: 'rabbitmqctl list_queues name messages memory':
Listing queues ...
ha.snssdk.log   695954  16426216
ha.snssdk.log.dispatch  660748  102698808
ha.snssdk.log.output    63573   32800680
ssesion 0       25952
ssesion.log     101     436328
ssesion.output  0       148816
...done.

As shown above the queues only take about 150M memory. But the rabbit
process actually takes about 25G.

'rabbitmqctl status' gives me following output on memory:

 {memory,
     [{total,25394382848},
      {connection_procs,140253648},
      {queue_procs,19311874888},
      {plugins,365944},
      {other_proc,53179248},
      {mnesia,71592},
      {mgmt_db,10184},
      {msg_index,328168736},
      {other_ets,39820008},
      {binary,5487509328},
      {code,19731036},
      {atom,703377},
      {other_system,12694859}]},

Why is this and how should I get it fixed?

Rabbit version: 3.1.3
erlang version: R16B01

Thanks,
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130709/f549eb0a/attachment.htm>


More information about the rabbitmq-discuss mailing list