Ilya,<br><br>Are you using Linux? If so, did the Linux OOM killer maybe zap the Erlang node?<br><br>You could try this:<br><br>$ sudo sysctl vm.overcommit_memory=2<br>vm.overcommit_memory = 2<br><br>Also take a look at overcommit_ratio and swappiness.<br>
<br>HTH.<br>Ed<br><br><div class="gmail_quote">On Mon, Nov 17, 2008 at 5:53 PM, Ilya Grigorik <span dir="ltr">&lt;<a href="mailto:ilya@aiderss.com">ilya@aiderss.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I&#39;ve been running more benchmarks on Rabbit today, few more questions popped up: <br><br>Any rules of thumb for memory requirements on Rabbit? I&#39;ve setup a simple consumer which pushes ~10kb/s into a Rabbit queue, and the persister file is growing at an expected rate, but the memory appears to be fluctuating all over the map. My persister got up to 386MB, but resident side of rabbit shot up to 3.5GB. <br>

<br>Also, I&#39;ve added a liberal swap partition to the box, but I&#39;m still seeing same behavior as before: rabbit died at around 2.2GB in the perister.log. Kernel logs are not showing anything suspicious, and the node doesn&#39;t spit out anything useful either:<br>

<br>=INFO REPORT==== 17-Nov-2008::17:46:00 ===<br>&nbsp;&nbsp;&nbsp; alarm_handler: {clear,system_memory_high_watermark}<br><br>=INFO REPORT==== 17-Nov-2008::17:46:26 ===<br>Rolling persister log to &quot;/var/lib/rabbitmq/mnesia/rabbit/rabbit_persister.LOG.previous&quot;<br>

<br>---<br><br>Erlang has closed<br>/usr/local/lib/erlang/lib/os_mon-2.1.8/priv/bin/memsup: Erlang has closed.<br><br>Is there a debug mode I could enable?<br><font color="#888888"><br>ig<br></font><br>P.S. I&#39;m in for pitching in to fix this stuff. ;-)<br>

<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br>