Skip to content

Commit 4398ab1

Browse files
committed
Additions & changes to example config as per rabbitmq-server#1366
1 parent b68a37b commit 4398ab1

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

docs/rabbitmq.config.example

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@
130130
%%
131131
%% {ssl_handshake_timeout, 5000},
132132

133-
%% Whether to allow SSL POODLE attack,
134-
%% as is the case of Erlang versions that make it impossible to disable SSLv3
133+
%% Makes RabbitMQ accept SSLv3 client connections by default.
134+
%% DO NOT DO THIS IF YOU CAN HELP IT.
135135
%%
136136
%% {ssl_allow_poodle_attack, false},
137137

@@ -311,7 +311,10 @@
311311
%% {mirroring_sync_batch_size, 4096},
312312

313313
%% Controls flow control between queue mirrors
314-
%% Be careful with this configuration, it's controversial
314+
%% Be careful with this configuration.
315+
%% It's dangerous for masters to outpace mirrors and not allow mirrors to catch up.
316+
%% Mirrors will end up using more and more RAM,
317+
%% until they will eventually trigger the memory alarm and block publishers.
315318
%% https://github.com/rabbitmq/rabbitmq-server/pull/133
316319
%%
317320
%% {mirroring_flow_control, true},
@@ -355,7 +358,7 @@
355358
%% {hipe_compile, false},
356359

357360
%% Number of delegate processes to use for intra-cluster communication.
358-
%% On a machine which has a very large number of cores and is also part of a cluster,
361+
%% On a node which is part of cluster, has 16 cores and plenty of network bandwidth,
359362
%% you may wish to increase this value.
360363
%%
361364
%% {delegate_count, 16},
@@ -396,7 +399,9 @@
396399

397400
%% Number of credits that a connection, channel or queue are given
398401
%% By default, every connection, channel or queue is given 400 credits,
399-
%% and then 200 for every 200 messages that it processes
402+
%% and then 200 for every 200 messages that it processes.
403+
%% Increasing these values may help with throughput, but they can also be dangerous:
404+
%% very high credit flow values are no different from not having flow control.
400405
%% See https://www.rabbitmq.com/blog/2015/10/06/new-credit-flow-settings-on-rabbitmq-3-5-5/
401406
%%
402407
%% {credit_flow_default_credit, {400, 200}},
@@ -417,7 +422,7 @@
417422
%%
418423
%% {disk_monitor_failure_retries, 10},
419424

420-
%% Milliseconds to wait for disk space usage values
425+
%% Milliseconds to wait before retrying to query disk space usage
421426
%%
422427
%% {disk_monitor_failure_retry_interval, 120000},
423428

@@ -429,7 +434,10 @@
429434
%%
430435
%% {background_gc_target_interval, 60000},
431436

432-
%% File size in bytes used for persisting messages
437+
%% Message store operations are stored in a sequence of files called segments.
438+
%% This controls max size of a segment file.
439+
%% Increasing this value may speed up (sequential) disk writes but will slow down segment GC process.
440+
%% DO NOT CHANGE THIS for existing installations.
433441
%%
434442
%% {msg_store_file_size_limit, 16777216},
435443

@@ -666,10 +674,10 @@
666674
%% {num_ssl_acceptors, 1},
667675

668676
%% TCP/Socket options (as per the broker configuration).
677+
%% See http://www.rabbitmq.com/networking.html
669678
%%
670679
%% {tcp_listen_options, [
671680
%% {backlog, 128},
672-
%% {nodelay, true},
673681
%% {linger, {true, 0}},
674682
%% {exit_on_close, false}
675683
%% ]},

0 commit comments

Comments
 (0)