Commit ad41eed7 by Kevin Falcone

Rabbit will only use 40% of RAM, allow this to go up

The linked documentation comes out ao .7 for a t2.large
We can also prevent rabbit from going to disk until more memory
is full, but that isn't needed right now.
parent e0015288
......@@ -25,6 +25,11 @@ RABBITMQ_VHOSTS:
- '/'
RABBITMQ_CLUSTERED_HOSTS: []
# This is the default for rabbit, but allows overriding if
# you run a dedicated rabbit cluster
# https://www.rabbitmq.com/memory.html
# https://www.rabbitmq.com/production-checklist.html
RABBITMQ_VM_MEMORY_HIGH_WATERMARK: 0.4
# Internal role variables below this line
......
......@@ -5,5 +5,6 @@
{#
Note: That these names should include the node name prefix. eg. 'rabbit@hostname'
#}
{cluster_nodes, {['{{ RABBITMQ_CLUSTERED_HOSTS|join("\',\'") }}'], disc}}
{cluster_nodes, {['{{ RABBITMQ_CLUSTERED_HOSTS|join("\',\'") }}'], disc}},
{vm_memory_high_watermark, {{ RABBITMQ_VM_MEMORY_HIGH_WATERMARK }} }
]}].
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment