summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMichael Klishin <michael@clojurewerkz.org>2017-07-26 22:24:24 +0300
committerMichael Klishin <michael@clojurewerkz.org>2017-07-26 22:24:24 +0300
commit8e05c4dbf362f61d2e4c12de59ae1e3997f2fcd2 (patch)
tree82b83e71c4fd8f02ec70f4c74e09aeeee7c69ef1 /docs
parent1f5240617b424b0d36e56f2d6608ed529b723184 (diff)
parent2b2ea1173bafb01349b180c76f1e52fef5856dd0 (diff)
downloadrabbitmq-server-git-8e05c4dbf362f61d2e4c12de59ae1e3997f2fcd2.tar.gz
Merge branch 'master' into rabbitmq-server-1303
Diffstat (limited to 'docs')
-rw-r--r--docs/rabbitmq.conf.example12
-rw-r--r--docs/rabbitmq.config.example12
2 files changed, 22 insertions, 2 deletions
diff --git a/docs/rabbitmq.conf.example b/docs/rabbitmq.conf.example
index e4c2fff92a..68ce59326e 100644
--- a/docs/rabbitmq.conf.example
+++ b/docs/rabbitmq.conf.example
@@ -252,8 +252,18 @@
## Fraction of the high watermark limit at which queues start to
## page message out to disc in order to free up memory.
+## For example, when vm_memory_high_watermark is set to 0.4 and this value is set to 0.5,
+## paging can begin as early as when 20% of total available RAM is used by the node.
##
-## Values greater than 0.9 can be dangerous and should be used carefully.
+## Values greater than 1.0 can be dangerous and should be used carefully.
+##
+## One alternative to this is to use durable queues and publish messages
+## as persistent (delivery mode = 2). With this combination queues will
+## move messages to disk much more rapidly.
+##
+## Another alternative is to configure queues to page all messages (both
+## persistent and transient) to disk as quickly
+## as possible, see http://www.rabbitmq.com/lazy-queues.html.
##
# vm_memory_high_watermark_paging_ratio = 0.5
diff --git a/docs/rabbitmq.config.example b/docs/rabbitmq.config.example
index 4135c5053c..b7f08afc78 100644
--- a/docs/rabbitmq.config.example
+++ b/docs/rabbitmq.config.example
@@ -236,8 +236,18 @@
%% Fraction of the high watermark limit at which queues start to
%% page message out to disc in order to free up memory.
+ %% For example, when vm_memory_high_watermark is set to 0.4 and this value is set to 0.5,
+ %% paging can begin as early as when 20% of total available RAM is used by the node.
%%
- %% Values greater than 0.9 can be dangerous and should be used carefully.
+ %% Values greater than 1.0 can be dangerous and should be used carefully.
+ %%
+ %% One alternative to this is to use durable queues and publish messages
+ %% as persistent (delivery mode = 2). With this combination queues will
+ %% move messages to disk much more rapidly.
+ %%
+ %% Another alternative is to configure queues to page all messages (both
+ %% persistent and transient) to disk as quickly
+ %% as possible, see http://www.rabbitmq.com/lazy-queues.html.
%%
%% {vm_memory_high_watermark_paging_ratio, 0.5},