diff options
| author | Michael Klishin <michael@novemberain.com> | 2015-12-03 15:09:54 +0300 |
|---|---|---|
| committer | Michael Klishin <michael@novemberain.com> | 2015-12-03 15:09:54 +0300 |
| commit | 6e486a1e713f5a227ec7bfca2389cc81c63eddb9 (patch) | |
| tree | 88ba02f0ad9b4cdaa8d21d772e069445db5c1bd8 /docs/rabbitmq.config.example | |
| parent | 92a3cd890fd4f5b506e496f429d90b2048bb5c7a (diff) | |
| parent | a9f7fef06380e7c29bb8d5d64c706be16732b553 (diff) | |
| download | rabbitmq-server-git-6e486a1e713f5a227ec7bfca2389cc81c63eddb9.tar.gz | |
Merge pull request #462 from rabbitmq/rabbitmq-server-448
Support setting vm_memory_high_watermark and disk_free_limit in units
Diffstat (limited to 'docs/rabbitmq.config.example')
| -rw-r--r-- | docs/rabbitmq.config.example | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/rabbitmq.config.example b/docs/rabbitmq.config.example index 13cac251e6..55c5736994 100644 --- a/docs/rabbitmq.config.example +++ b/docs/rabbitmq.config.example @@ -193,6 +193,19 @@ %% 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. @@ -211,6 +224,11 @@ %% 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. %% |
