[rabbitmq-discuss] RabbitMq not honouring high_watermark setting?

Dan B danbarua at gmail.com
Wed Jul 13 12:55:23 BST 2011


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.

-Dan

On Jul 13, 12:42 pm, Dan B <danba... at gmail.com> wrote:
> Hi all,
>
> I'm trying to tweak Rabbit 2.5.1 on a server running Windows Server
> 2008 x64 with 8gb ram.
>
> My rabbitmq.config file looks like this:
>
> [
>   {rabbit, [
>      {ssl_listeners, [5671]},
>      {ssl_options, [{cacertfile,"C:/CAConfig/trustisroot.cer"},
>                     {certfile,"C:/CAConfig/publicCertificate.pem"},
>                     {keyfile,"C:/CAConfig/private.pem"},
>                     {verify,verify_peer},
>                     {fail_if_no_peer_cert,false}]},
>      {vm_memory_high_watermark, 0.4}
>    ]}
> ].
>
> However Rabbit starts up with the standard 819mb memory limit.
>
> =INFO REPORT==== 13-Jul-2011::12:36:32 ===
> Limiting to approx 924 file handles (829 sockets)
>
> =INFO REPORT==== 13-Jul-2011::12:36:32 ===
> Memory limit set to 819MB.
>
> =INFO REPORT==== 13-Jul-2011::12:36:32 ===
> Management plugin upgraded statistics to fine.
>
> =INFO REPORT==== 13-Jul-2011::12:36:32 ===
> Statistics database started.
>
> =INFO REPORT==== 13-Jul-2011::12:36:32 ===
> msg_store_transient: using rabbit_msg_store_ets_index to provide index
>
> =INFO REPORT==== 13-Jul-2011::12:36:32 ===
> msg_store_persistent: using rabbit_msg_store_ets_index to provide
> index
>
> =INFO REPORT==== 13-Jul-2011::12:36:32 ===
> started TCP Listener on [::]:5672
>
> =INFO REPORT==== 13-Jul-2011::12:36:32 ===
> started TCP Listener on 0.0.0.0:5672
>
> =INFO REPORT==== 13-Jul-2011::12:36:32 ===
> Management agent started.
>
> =INFO REPORT==== 13-Jul-2011::12:36:32 ===
> Management plugin started.
> HTTP API:      http://CALLCRAFT:55672/api/
> Management UI:  http://CALLCRAFT:55672/mgmt/
>
> Any ideas where I'm going wrong?
>
> Thanks in advance,
>
> -Dan
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-disc... at lists.rabbitmq.comhttps://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


More information about the rabbitmq-discuss mailing list