Commit 9e32a8a9 by Kevin Falcone Committed by GitHub

Merge pull request #3793 from edx/jibsheet/enable-more-rabbit-memory

Rabbit will only use 40% of RAM, allow this to go up
parents 761a07a1 e5bb5916
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
elb_pre_post: true elb_pre_post: true
# Number of instances to operate on at a time # Number of instances to operate on at a time
serial_count: 1 serial_count: 1
CLUSTER_NAME: 'commoncluster' CLUSTER_NAME: 'rabbitmq'
serial: "{{ serial_count }}" serial: "{{ serial_count }}"
pre_tasks: pre_tasks:
- action: ec2_facts - action: ec2_facts
......
...@@ -25,6 +25,11 @@ RABBITMQ_VHOSTS: ...@@ -25,6 +25,11 @@ RABBITMQ_VHOSTS:
- '/' - '/'
RABBITMQ_CLUSTERED_HOSTS: [] 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 # Internal role variables below this line
......
...@@ -5,5 +5,6 @@ ...@@ -5,5 +5,6 @@
{# {#
Note: That these names should include the node name prefix. eg. 'rabbit@hostname' 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