[rabbitmq-discuss] RabbitMQ memory (RSS) slowly rising. Help!

Matthew Sackman matthew at rabbitmq.com
Mon Mar 28 17:46:35 BST 2011


Hi,

On Thu, Mar 24, 2011 at 06:40:52PM -0700, seanbollin wrote:
> I don't understand why my RabbitMQ process memory is growing slowly
> over time.
> 
> Here is the RSS I'm monitoring:
> 
> 38660    01:17:58 15928 /home/example//lib/erlang/erts-5.8.3/bin/
> beam.smp -W w -K true -A30 -P 1048576 -- -root /home/example//lib/
> erlang -progname erl -- -home /home/example -- -noshell -noinput -
> sname rabbit at web188 -boot /home/example/mnesia/rabbit at web188-p
> 
> The 38660 grows slowly over time.
> 
> To add to the confusion, when I run: ./rabbitmqctl list_queues
> messages
> 
> It consistently displays 0 messages.
> 
> This leads me to believe that the memory should stabilize.
> 
> Why is the memory consistently rising?

Most likely memory fragmentation. Until the GC runs, you may see RAM
usage slowly creep up. It will eventually stabilise, but it could take
quite a long time before that happens.

Matthew


More information about the rabbitmq-discuss mailing list