[rabbitmq-discuss] Unable to start RabbitMQ server after crash because of vm_memory_high_watermark alarm.

ChrisStoyles cstoyles at gmail.com
Mon Aug 22 01:08:39 BST 2011


Hi All,

I need some advice on moving /var/lib/rabbitmq to a new server with
more RAM. What has happened is that on our 8GB RAM server we've had a
surge in activity and one of our queues has grown much faster than it
can be consumed by our "workers".

This has resulted in RabbitMQ crashing, with an erl_crash.dump file
appearing.

At present when I attempt to start the server up again, it tries to
roll the persister.LOG file and recover what was in the queue at the
time of the crash. However even with rabbitmq.config set up as below,
the vm_memory_high_watermark alarm is triggered and erl_crash.dump is
created all over again.

[
  {rabbit, [{vm_memory_high_watermark, 0.9}]}
].

I've got another server with 24GB of RAM, so I set it's HOSTNAME to
the same as the 8GB server and installed the same version of RabbitMQ.
I then copied over the contents of /var/lib/rabbitmq and attempted to
start RabbitMQ. I no longer hit the vm_memory_high_watermark however
Erlang seems to close/shutdown while attempting to recover
persister.LOG.

Is there a step I am missing?

Thank You.
Chris.


More information about the rabbitmq-discuss mailing list