Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
9e32a8a9
Commit
9e32a8a9
authored
Apr 05, 2017
by
Kevin Falcone
Committed by
GitHub
Apr 05, 2017
Browse files
Options
Browse Files
Download
Plain Diff
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
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
playbooks/edx-east/rabbitmq.yml
+1
-1
playbooks/roles/rabbitmq/defaults/main.yml
+5
-0
playbooks/roles/rabbitmq/templates/etc/rabbitmq/rabbitmq.config.j2
+2
-1
No files found.
playbooks/edx-east/rabbitmq.yml
View file @
9e32a8a9
...
...
@@ -12,7 +12,7 @@
elb_pre_post
:
true
# Number of instances to operate on at a time
serial_count
:
1
CLUSTER_NAME
:
'
commoncluster
'
CLUSTER_NAME
:
'
rabbitmq
'
serial
:
"
{{
serial_count
}}"
pre_tasks
:
-
action
:
ec2_facts
...
...
playbooks/roles/rabbitmq/defaults/main.yml
View file @
9e32a8a9
...
...
@@ -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
...
...
playbooks/roles/rabbitmq/templates/etc/rabbitmq/rabbitmq.config.j2
View file @
9e32a8a9
...
...
@@ -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 }} }
]}].
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment