[rabbitmq-discuss] memory usage

Philip Stubbings phil at parasec.net
Thu Feb 5 15:16:17 GMT 2009

Hi all,

I have set up Rabbit 1.5.1 running as a single node. During testing, I
notice that memory use is extremely high. More specifically, if I push
1 million messages to a queue and later consume them (with
acknowledgment) memory usage remains very high (in excess of 3G). I can
verify that all consumed messages where acknowledged and that the queue
is empty. Why does the process still require 3G of memory even after 24
hours of inactivity? 

The only way to reduce the memory footprint is to restart rabbitmq.,
However this is not an option for me.

The second problem I have encountered is during, and immediately after
pushing 1 million messages to rabbitmq. If I try to connect a consumer
whilst messages are being produced, I get the following error on the
consumer side:

(connection error; reason:

While, on the rabbit server:
=ERROR REPORT==== 5-Feb-2009::12:43:57 ===
connection <0.3155.0> (running), channel 1 - error:
=WARNING REPORT==== 5-Feb-2009::12:43:57 ===
Non-AMQP exit reason

And also, during and just after the 1 million messages have been
produced (with no consumers connected) I get the following error while
trying to examine the queue status:

../rabbitmq-server-1.5.1/scripts/rabbitmqctl list_queues -p /
Listing queues ...
Error: {badrpc,

Any ideas? 

More information about the rabbitmq-discuss mailing list