[rabbitmq-discuss] Rabbitmq 2.7.1 / R14B02 crash - updates

Andrei Vereha andreivereha at gmail.com
Fri Mar 23 12:09:12 GMT 2012


Hello ,

I executed these comands on the server:
# ps aux | grep beam >  memory.txt
# rabbitmqctl status >> memory.txt

and attacheed the file.

The memory used by the queues:
root at rabbitmq-01:/var/lib/rabbitmq/mnesia/rabbit at rabbitmq-01/msg_store_persistent#
rabbitmqctl list_queues  memory | awk '{ sum+=$1} END {print sum}'
324448024.

Why the beam process takes 1.4 Gb and the rabbitmqctl status reports
only a few hundred Mb?
I see the same value(raported by rabbitmqctl status) in the management
web inteface. 
Is there a way to find where goes the memory?
Am I using a wrong erlang version?

Thank you,
 Andrei


On Wed, 21 Mar 2012 17:22:07 +0000
Simon MacMullen <simon at rabbitmq.com> wrote:

> The erl_crash.dump is not terribly useful I'm afraid.
> 
> How much memory did the machine have?
> 
> What was the high watermark set to?
> 
> Can we see the logs?
> 
> Cheers, Simon
> 
> On 21/03/12 17:14, Andrei Vereha wrote:
> > Hello ,
> >
> > A few hours ago our Rabbitmq server crashed with message:
> >
> > =erl_crash_dump:0.1
> > Wed Mar 21 13:05:19 2012
> > Slogan: eheap_alloc: Cannot allocate 1824525600 bytes of memory (of
> > type "heap").
> > System version: Erlang R14B02 (erts-5.8.3) [source]
> > [64-bit] [smp:4:4] [rq:4] [async-threads:30] [kernel-poll:true]
> > Compiled: Fri May  6 16:15:00 2011 Taints:
> >
> > I uploaded the compressed erl_crash.dump file here(uncompressed it
> > takes 1.5GB):
> >
> > http://dl.transfer.ro/dump-transfer_RO-21mar-9ef325.7z
> >
> > When this happened vm_memory_high_watermark was not 'activated':
> > grep vm_memory_high_watermark rabbit at rabbitmq-01.log ->  prints
> > nothing.
> >
> > Why did it crashed?
> >
> > Thank you,
> >    Andrei
> > _______________________________________________
> > rabbitmq-discuss mailing list
> > rabbitmq-discuss at lists.rabbitmq.com
> > https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
> 
> 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: memory.txt
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120323/492db5d3/attachment.txt>


More information about the rabbitmq-discuss mailing list