File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed
ansible/roles/rabbitmq/defaults
doc/source/reference/message-queues Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ rabbitmq_user: "openstack"
71
71
rabbitmq_cluster_name : " openstack"
72
72
rabbitmq_hostname : " {{ ansible_facts.hostname }}"
73
73
rabbitmq_pid_file : " /var/lib/rabbitmq/mnesia/rabbitmq.pid"
74
- rabbitmq_server_additional_erl_args : " +S 2:2 +sbwt none"
74
+ rabbitmq_server_additional_erl_args : " +S 2:2 +sbwt none +sbwtdcpu none +sbwtdio none "
75
75
# Dict of TLS options for RabbitMQ. Keys will be prefixed with 'ssl_options.'.
76
76
rabbitmq_tls_options : {}
77
77
# To avoid split-brain
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ already configures RabbitMQ server for IPv6 (if necessary). Any argument can be
97
97
passed there as documented in https://www.rabbitmq.com/runtime.html
98
98
99
99
The default value for ``rabbitmq_server_additional_erl_args `` is ``+S 2:2 +sbwt
100
- none ``.
100
+ none +sbwtdcpu none +sbwtdio none ``.
101
101
102
102
By default RabbitMQ starts N schedulers where N is the number of CPU cores,
103
103
including hyper-threaded cores. This is fine when you assume all CPUs are
@@ -106,5 +106,6 @@ Here we go for two scheduler threads (``+S 2:2``). More details can be found
106
106
here: https://www.rabbitmq.com/runtime.html#scheduling and here:
107
107
https://erlang.org/doc/man/erl.html#emulator-flags
108
108
109
- The ``+sbwt `` argument prevents busy waiting of the scheduler, for more details
110
- see: https://www.rabbitmq.com/runtime.html#busy-waiting.
109
+ The ``+sbwt none +sbwtdcpu none +sbwtdio none `` arguments prevent busy waiting
110
+ of the scheduler, for more details see:
111
+ https://www.rabbitmq.com/runtime.html#busy-waiting.
Original file line number Diff line number Diff line change 418
418
# https://www.rabbitmq.com/runtime.html#scheduling
419
419
# https://www.rabbitmq.com/runtime.html#busy-waiting
420
420
# The default tells RabbitMQ to always use two cores (+S 2:2),
421
- # and not to busy wait (+sbwt none):
422
- # rabbitmq_server_additional_erl_args: "+S 2:2 +sbwt none"
421
+ # and not to busy wait (+sbwt none +sbwtdcpu none +sbwtdio none ):
422
+ # rabbitmq_server_additional_erl_args: "+S 2:2 +sbwt none +sbwtdcpu none +sbwtdio none "
423
423
# Whether to enable TLS encryption for RabbitMQ client-server communication.
424
424
# rabbitmq_enable_tls: "no"
425
425
# CA certificate bundle in RabbitMQ container.
Original file line number Diff line number Diff line change 10
10
upgrade :
11
11
- |
12
12
Modifies the default value of ``rabbitmq_server_additional_erl_args`` from
13
- an empty string to ``+S 2:2 +sbwt none``.
13
+ an empty string to ``+S 2:2 +sbwt none +sbwtdcpu none +sbwtdio none ``.
You can’t perform that action at this time.
0 commit comments