|
130 | 130 | %%
|
131 | 131 | %% {ssl_handshake_timeout, 5000},
|
132 | 132 |
|
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. |
135 | 135 | %%
|
136 | 136 | %% {ssl_allow_poodle_attack, false},
|
137 | 137 |
|
|
311 | 311 | %% {mirroring_sync_batch_size, 4096},
|
312 | 312 |
|
313 | 313 | %% 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. |
315 | 318 | %% https://github.com/rabbitmq/rabbitmq-server/pull/133
|
316 | 319 | %%
|
317 | 320 | %% {mirroring_flow_control, true},
|
|
355 | 358 | %% {hipe_compile, false},
|
356 | 359 |
|
357 | 360 | %% 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, |
359 | 362 | %% you may wish to increase this value.
|
360 | 363 | %%
|
361 | 364 | %% {delegate_count, 16},
|
|
396 | 399 |
|
397 | 400 | %% Number of credits that a connection, channel or queue are given
|
398 | 401 | %% 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. |
400 | 405 | %% See https://www.rabbitmq.com/blog/2015/10/06/new-credit-flow-settings-on-rabbitmq-3-5-5/
|
401 | 406 | %%
|
402 | 407 | %% {credit_flow_default_credit, {400, 200}},
|
|
417 | 422 | %%
|
418 | 423 | %% {disk_monitor_failure_retries, 10},
|
419 | 424 |
|
420 |
| - %% Milliseconds to wait for disk space usage values |
| 425 | + %% Milliseconds to wait before retrying to query disk space usage |
421 | 426 | %%
|
422 | 427 | %% {disk_monitor_failure_retry_interval, 120000},
|
423 | 428 |
|
|
429 | 434 | %%
|
430 | 435 | %% {background_gc_target_interval, 60000},
|
431 | 436 |
|
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. |
433 | 441 | %%
|
434 | 442 | %% {msg_store_file_size_limit, 16777216},
|
435 | 443 |
|
|
666 | 674 | %% {num_ssl_acceptors, 1},
|
667 | 675 |
|
668 | 676 | %% TCP/Socket options (as per the broker configuration).
|
| 677 | + %% See http://www.rabbitmq.com/networking.html |
669 | 678 | %%
|
670 | 679 | %% {tcp_listen_options, [
|
671 | 680 | %% {backlog, 128},
|
672 |
| - %% {nodelay, true}, |
673 | 681 | %% {linger, {true, 0}},
|
674 | 682 | %% {exit_on_close, false}
|
675 | 683 | %% ]},
|
|
0 commit comments