[rabbitmq-discuss] RabbitMQ 3.1.5 crash: Cannot allocate 1124815738393216 bytes of memory (of type "arg_reg").

Emile Joubert emile at rabbitmq.com
Wed Sep 4 15:12:26 BST 2013


On 04/09/13 13:38, Oskar Liljeblad wrote:
> The only thing that may have changed is that we enabled mirroring on
> some of the queues. But the first crash may have happened just before
> this - I'm afraid I don't remember.


An opinion offered on the erlang-questions mailing list about a similar
question suggests that the error logger is responsible for attempting
the allocation:
http://erlang.org/pipermail/erlang-questions/2012-May/066600.html

I hesitate to suggest this for a production environment but try turning
logging off to see if that helps.

Change "'{file,"'${RABBITMQ_LOGS}'"}'" to "false" and
'{file,"'${RABBITMQ_SASL_LOGS}'"}' to "false" in
/usr/lib/rabbitmq/bin/rabbitmq-server.

If that cures the problem then we'll need to find a way of determining
what the original error was that triggered the large error message.




-Emile






More information about the rabbitmq-discuss mailing list