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

Oskar Liljeblad oskar at vergic.com
Wed Sep 4 15:28:16 BST 2013


I restarted the service but I see the usual log messages regarding accepted and closed AMQP connections - now only in /var/log/rabbitmq/startup_log (which I assume is stdout) rather than /var/log/rabbitmq/rabbitmq at instance.log

Regards,

Oskar

-----Original Message-----
From: rabbitmq-discuss-bounces at lists.rabbitmq.com [mailto:rabbitmq-discuss-bounces at lists.rabbitmq.com] On Behalf Of Oskar Liljeblad
Sent: Wednesday, September 4, 2013 16:25
To: Emile Joubert
Cc: Discussions about RabbitMQ
Subject: Re: [rabbitmq-discuss] RabbitMQ 3.1.5 crash: Cannot allocate 1124815738393216 bytes of memory (of type "arg_reg").

Many thanks. I will give it a try and let you know if it crashes again.

Regards,

Oskar

-----Original Message-----
From: Emile Joubert [mailto:emile at rabbitmq.com] 
Sent: Wednesday, September 4, 2013 16:12
To: Discussions about RabbitMQ
Cc: Oskar Liljeblad
Subject: Re: [rabbitmq-discuss] RabbitMQ 3.1.5 crash: Cannot allocate 1124815738393216 bytes of memory (of type "arg_reg").

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




_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


More information about the rabbitmq-discuss mailing list