<div>It is a Windows 2008 Server R2 with RAM of 24 GB.</div><div><br></div><div>Here's the output of rabbitmqctl environment:</div><div><br></div><div>Application environment of node 'rabbit@347943-rab' ...</div>
<div>[{auth_backends,[rabbit_auth_backend_internal]},</div><div> {auth_mechanisms,['PLAIN','AMQPLAIN']},</div><div> {backing_queue_module,rabbit_variable_queue},</div><div> {cluster_nodes,[]},</div><div> {collect_statistics,fine},</div>
<div> {collect_statistics_interval,5000},</div><div> {default_permissions,[<<".*">>,<<".*">>,<<".*">>]},</div><div> {default_user,<<"guest">>},</div>
<div> {default_user_tags,[administrator]},</div><div> {default_vhost,<<"/">>},</div><div> {delegate_count,16},</div><div> {disk_free_limit,1000000000},</div><div> {error_logger,{file,"C:/Users/Administrator/AppData/Roaming/RabbitMQ/log/rabbit@347943-rab.log"}},</div>
<div> {frame_max,131072},</div><div> {hipe_compile,false},</div><div> {included_applications,[]},</div><div> {log_levels,[{connection,info}]},</div><div> {msg_store_file_size_limit,16777216},</div><div> {msg_store_index_module,rabbit_msg_store_ets_index},</div>
<div> {queue_index_max_journal_entries,262144},</div><div> {sasl_error_logger,{file,"C:/Users/Administrator/AppData/Roaming/RabbitMQ/log/rabbit@347943-rab-sasl.log"}},</div><div> {server_properties,[]},</div><div>
{ssl_cert_login_from,distinguished_name},</div><div> {ssl_listeners,[]},</div><div> {ssl_options,[]},</div><div> {tcp_listen_options,[binary,</div><div> {packet,raw},</div><div> {reuseaddr,true},</div>
<div> {backlog,128},</div><div> {nodelay,true},</div><div> {linger,{true,0}},</div><div> {exit_on_close,false}]},</div><div> {tcp_listeners,[5672]},</div>
<div> {trace_vhosts,[]},</div><div> {vm_memory_high_watermark,0.4}]</div><div>...done.</div><div><br></div><div><br></div><div>--Mahesh</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 20, 2012 at 2:50 PM, Tim Watson <span dir="ltr"><<a href="mailto:watson.timothy@gmail.com" target="_blank">watson.timothy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Looks like your system completely ran out of available memory and swap space at which point alloc Started to fail. Rabbit tries hard to avoid this (by paging messages to disk and applying memory based flow control to throttle senders) but if the whole system completely runs out of ram (and swap space is exhausted) then no program will be able to continue running if it needs dynamically allocated memory that is not available.<br>
<br>
What does your environment look like (run rabbitmqctl environment) such as os, available memory, swap space, etc?<br>
<br>
Have you configured the memory high watermark? There should be some alarms going off in the rabbit logs before the emulator crashes if memory/swap has really been exhausted.<br>
<div><div class="h5"><br>
On 20 Nov 2012, at 06:53, Mahesh Viraktamath <<a href="mailto:yuva670@gmail.com">yuva670@gmail.com</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> We are running RabbitMQ 2.8.4 on production for past 2 months, it crashed yesterday and left a huge crash dump (about 5 MB). The log starts like this:<br>
><br>
> =erl_crash_dump:0.1<br>
> Mon Nov 19 14:51:22 2012<br>
> Slogan: temp_alloc: Cannot allocate 623672 bytes of memory (of type "tmp_heap").<br>
> System version: Erlang R15B01 (erts-5.9.1) [64-bit] [smp:12:12] [async-threads:30]<br>
> Compiled: Sun Apr 1 19:26:21 2012<br>
><br>
> If this is not enough, I can attach the whole dump.<br>
><br>
> How can I avoid the crash in future, please advice.<br>
><br>
><br>
> -Mahesh<br>
</div></div>> _______________________________________________<br>
> rabbitmq-discuss mailing list<br>
> <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
> <a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</blockquote></div><br></div>