[rabbitmq-discuss] General questions about HA, Stability/Reliability and Broker Administration

Simon MacMullen simon at rabbitmq.com
Wed Jul 28 15:07:17 BST 2010


On 28/07/10 14:38, Dave Greggory wrote:
> One thing I like about RabbitMQ as opposed to most other brokers is
> that all these functionality is provided as plugins instead of being
> tightly integrated into the broker itself. That's why I'd prefer to
> not have to run BQL or Status or any other plugins and keep the
> broker clean and as simple as possible.

Nice to hear someone with something good to say about plugins :)

> Since we're not using the new persister yet (we'll switch when it's
> officially released), I'd like to monitor the overall memory usage.
> Is it possible to that using rabbitmqctl? List_queues only show
> memory per queue. Where does the Status plugin get it's total memory
> usage details from?

I'm afraid not with rabbitmqctl, the status plugin directly invokes 
erlang:memory(total). You could do this from a shell script with e.g.

echo 'erlang:memory(total).' | erl_call -sname rabbit@`hostname` -e

assuming your node name is as usual, and you're running as the same user 
as the server.

Cheers, Simon
-- 
Simon MacMullen
Staff Engineer, RabbitMQ
SpringSource, a division of VMware



More information about the rabbitmq-discuss mailing list