summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Klishin <mklishin@pivotal.io>2017-07-26 19:58:43 +0300
committerMichael Klishin <mklishin@pivotal.io>2017-07-26 19:58:43 +0300
commit32d7797fa19885d42d2afd3d0de184863af34051 (patch)
tree4b99f28e02255435c33066c2756cec4bfd4b51e8
parent574111eb0c0fe0c01cc0481df6c1f23de6871688 (diff)
parent4c9d7492fe31b6e96708661aea51f06183419cab (diff)
downloadrabbitmq-server-git-32d7797fa19885d42d2afd3d0de184863af34051.tar.gz
Merge branch 'stable'
-rw-r--r--docs/rabbitmq.config.example12
1 files changed, 11 insertions, 1 deletions
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},