diff options
| author | Michael Klishin <michael@clojurewerkz.org> | 2015-12-24 00:18:14 +0300 |
|---|---|---|
| committer | Michael Klishin <michael@clojurewerkz.org> | 2015-12-24 00:18:14 +0300 |
| commit | 0e2dccc019071b9e52b86fce32f752c0fa78d1d5 (patch) | |
| tree | 046555115616197a76b54869ac6714575a6bd5b5 /docs/rabbitmq.config.example | |
| parent | b2cf1238eea40f6a505a42d1bf10b75efcdff3bc (diff) | |
| parent | 447e549860d6281b12bd9cbb2d11f04e741561aa (diff) | |
| download | rabbitmq-server-git-0e2dccc019071b9e52b86fce32f752c0fa78d1d5.tar.gz | |
Merge branch 'stable' into rabbitmq-server-485
Diffstat (limited to 'docs/rabbitmq.config.example')
| -rw-r--r-- | docs/rabbitmq.config.example | 49 |
1 files changed, 40 insertions, 9 deletions
diff --git a/docs/rabbitmq.config.example b/docs/rabbitmq.config.example index a8e5016524..55c5736994 100644 --- a/docs/rabbitmq.config.example +++ b/docs/rabbitmq.config.example @@ -120,6 +120,12 @@ %% %% {ssl_handshake_timeout, 5000}, + %% Password hashing implementation. Will only affect newly + %% created users. To recalculate hash for an existing user + %% it's necessary to update her password. + %% + %% {password_hashing_module, rabbit_password_hashing_sha256}, + %% %% Default User / VHost %% ==================== @@ -155,6 +161,11 @@ %% %% {frame_max, 131072}, + %% Set the max frame size the server will accept before connection + %% tuning occurs + %% + %% {initial_frame_max, 4096}, + %% Set the max permissible number of channels per connection. %% 0 means "no limit". %% @@ -165,10 +176,7 @@ %% See (http://www.erlang.org/doc/man/inet.html#setopts-2) for %% further documentation. %% - %% {tcp_listen_options, [binary, - %% {packet, raw}, - %% {reuseaddr, true}, - %% {backlog, 128}, + %% {tcp_listen_options, [{backlog, 128}, %% {nodelay, true}, %% {exit_on_close, false}]}, @@ -185,21 +193,47 @@ %% Alternatively, we can set a limit (in bytes) of RAM used by the node. %% %% {vm_memory_high_watermark, {absolute, 1073741824}}, + %% + %% Or you can set absolute value using memory units. + %% + %% {vm_memory_high_watermark, {absolute, "1024M"}}, + %% + %% Supported units suffixes: + %% + %% k, kiB: kibibytes (2^10 bytes) + %% M, MiB: mebibytes (2^20) + %% G, GiB: gibibytes (2^30) + %% kB: kilobytes (10^3) + %% MB: megabytes (10^6) + %% GB: gigabytes (10^9) %% Fraction of the high watermark limit at which queues start to %% page message out to disc in order to free up memory. %% + %% Values greater than 0.9 can be dangerous and should be used carefully. + %% %% {vm_memory_high_watermark_paging_ratio, 0.5}, + %% Interval (in milliseconds) at which we perform the check of the memory + %% levels against the watermarks. + %% + %% {memory_monitor_interval, 2500}, + %% Set disk free limit (in bytes). Once free disk space reaches this %% lower bound, a disk alarm will be set - see the documentation %% listed above for more details. %% %% {disk_free_limit, 50000000}, + %% + %% Or you can set it using memory units (same as in vm_memory_high_watermark) + %% {disk_free_limit, "50MB"}, + %% {disk_free_limit, "50000kB"}, + %% {disk_free_limit, "2GB"}, %% Alternatively, we can set a limit relative to total available RAM. %% - %% {disk_free_limit, {mem_relative, 1.0}}, + %% Values lower than 1.0 can be dangerous and should be used carefully. + %% {disk_free_limit, {mem_relative, 2.0}}, %% %% Misc/Advanced Options @@ -467,10 +501,7 @@ %% TCP/Socket options (as per the broker configuration). %% - %% {tcp_listen_options, [binary, - %% {packet, raw}, - %% {reuseaddr, true}, - %% {backlog, 128}, + %% {tcp_listen_options, [{backlog, 128}, %% {nodelay, true}]} ]}, |
