[rabbitmq-discuss] RabbitMq not honouring high_watermark setting?

Jerry Kuch jerryk at vmware.com
Wed Jul 13 18:43:03 BST 2011


You'll want to be mindful when bumping up against hard memory limits.  Erlang's garbage collector may exhibit ephemeral surges in its hunger for memory during copying phases, and those can be fatal in small heap environments as one is limited to on Windows with the 32-bit Erlang limitations that Emile and Simon have mentioned earlier in the thread...

Best regards,
Jerry

----- Original Message -----
From: "Dan B" <danbarua at gmail.com>
To: rabbitmq-discuss at lists.rabbitmq.com
Sent: Wednesday, July 13, 2011 5:27:07 AM
Subject: Re: [rabbitmq-discuss] RabbitMq not honouring high_watermark	setting?

Can I safely set Rabbit to hoover up 100% of the memory that's
available to Erlang under windows?

Thanks

-Dan

On Jul 13, 1:04 pm, Emile Joubert <em... at rabbitmq.com> wrote:
> On 13/07/11 12:55, Dan B wrote:
>
> > I should have RTFM a bit more thoroughly.
>
> >>> Thus when RabbitMQ can't recognize your platform, if you actually have 8GB RAM
> >>> installed and you want RabbitMQ to throttle producers when the server is using
> >>> above 3GB, set vm_memory_high_watermark to 3
>
> > On my server, vm_memory_high_watermark = n results in a watermark of
> > 2n for some reason. I've set it to 1.5 (3gb), I'm not sure if Rabbit
> > can access all of that though, probably not.
>
> You are certain to run out of memory at some point if you do that.
> Unfortunately the Windows Erlang VM is 32bit and limited to 2Gb. Some
> versions of Windows support an alternative memory model that may allow a
> suitably patched Erlang VM access to slightly more memory, but I don't
> know of anyone succeeding in making it work:
>
> http://support.microsoft.com/default.aspx?scid=kb%3BEN-US%3B297812
>
> -Emile
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-disc... at lists.rabbitmq.comhttps://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
_______________________________________________
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