Hi Mattew,<div><br><br><div class="gmail_quote">On Wed, Mar 17, 2010 at 9:44 AM, Matthew Sackman <span dir="ltr"><<a href="mailto:matthew@lshift.net">matthew@lshift.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<div class="im"><br>
On Wed, Mar 17, 2010 at 09:12:47AM -0300, Gustavo Aquino wrote:<br>
> I would like to run RabbitMQ using 80Gb of memory, so I'm trying to<br>
> configure it using the Rabbit guide where told to put simple line in<br>
> rabbitmq.conf, ok I open my rabbitmq.conf and put this line and just<br>
> changing 0.4 to 0.8 but it doesn't work, when I start Rabbit it don't<br>
> recognize configuration.<br>
<br>
</div>The 0.4 is a scaling of the RAM that Rabbit detects in your machine.<br>
Furthermore, as the documentation says, it is *not* a limit for how much<br>
RAM rabbit will use. As I pointed out in my other email, Erlang is a<br>
GC'd language. The 0.4 simply says that channel.flow will be invoked<br>
once 0.4 of available RAM has been used by Rabbit. This does not<br>
preclude Rabbit from using more than 0.4 - the GC events may cause up to<br>
twice this to be used. In addition, it is beneficial to allow your OS to<br>
have some RAM available for disk caches, thus allowing it to be able to<br>
satisfy reads without having to go to disk.<br>
<div class="im"><br></div></blockquote><div><br></div><div>Ok, I'm trying this approach to found a solutions to solve a problem that I reported here that RabbitMQ crash when my queue size take a big volume, always time that queue size have ~700.000/200Bytes messages Rabbit simple crash and don't write any log. This is my big concerns once we don't have a good way to monitoring queue size (i.e messages buffers and etc)</div>
<div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">
> rabbitmq.conf<br>
><br>
> [{rabbit, [{vm_memory_high_watermark, 0.8}]}].<br>
> NODENAME=rabbit@Nefertiti<br>
<br>
</div>The first line should be placed in rabbitmq.config. The second line is<br>
valid for rabbitmq.conf. Note they are two very different files.<br>
rabbitmq.config is an Erlang term file. rabbitmq.conf is sourced by the<br>
various shell scripts thus is a location to configure shell variables.<br></blockquote><div><br></div><div>Ohhh thanks... so we have two different config files.. well thanks I really thought that this configurations live inside the same file. Know rabbit run ok.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font color="#888888"><br>
Matthew<br>
</font></blockquote></div><br></div>