[rabbitmq-discuss] why rabbit eating so much memory?
Matthias Radestock
matthias at rabbitmq.com
Wed Jul 10 17:55:39 BST 2013
On 09/07/13 15:59, Rubo Liang wrote:
> 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},
So that shows queue processes taking up 19G. Perhaps you have queue's in
vhosts other than '/'? Note that 'rabbitmqctl list_queues' only shows
information on one vhost ('/' by default).
Matthias.
More information about the rabbitmq-discuss
mailing list