[rabbitmq-discuss] Cluster Memory Usage

Matthias Radestock matthias at rabbitmq.com
Sun Nov 20 16:49:14 GMT 2011


On 20/11/11 16:27, Cameron Davison wrote:
> It looks like all the memory is being used by the erlang processes.

And that's at a point when the slave is using substantially more memory 
than the master?

To investigate this further, connect to the slave erlang node with

erl -sname foo -remsh rabbit@<slave-host>

(you'll need to make sure the Erlang cookie is the same as your 
cluster's; so either copy the cookie or run the above as the same user 
as your rabbit server)

Once connected, evaluate

io:format("~p", [lists:reverse(lists:sort([{process_info(Pid, memory), 
Pid, process_info(Pid)} || Pid <- processes()]))]).

Post the result and the output of 'rabbitmqctl status' at the time.



More information about the rabbitmq-discuss mailing list