summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/rabbitmq.config.example4
-rw-r--r--docs/rabbitmqctl.1.xml15
2 files changed, 19 insertions, 0 deletions
diff --git a/docs/rabbitmq.config.example b/docs/rabbitmq.config.example
index 9b3855cd86..fa73960cbe 100644
--- a/docs/rabbitmq.config.example
+++ b/docs/rabbitmq.config.example
@@ -182,6 +182,10 @@
%%
%% {vm_memory_high_watermark, 0.4},
+ %% Alternatively, we can set a limit (in megabytes) of RAM used by the node.
+ %%
+ %% {vm_memory_high_watermark, {absolute, 1024}},
+
%% Fraction of the high watermark limit at which queues start to
%% page message out to disc in order to free up memory.
%%
diff --git a/docs/rabbitmqctl.1.xml b/docs/rabbitmqctl.1.xml
index 86ae899456..82fb92b36f 100644
--- a/docs/rabbitmqctl.1.xml
+++ b/docs/rabbitmqctl.1.xml
@@ -1926,6 +1926,21 @@
</variablelist>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><cmdsynopsis><command>set_vm_memory_high_watermark absolute</command> <arg choice="req"><replaceable>memory_limit_mb</replaceable></arg></cmdsynopsis></term>
+ <listitem>
+ <variablelist>
+ <varlistentry>
+ <term>memory_limit_mb</term>
+ <listitem><para>
+ The new memory limit at which flow control is
+ triggered, expressed in MB as an integer number
+ greater than or equal to 0.
+ </para></listitem>
+ </varlistentry>
+ </variablelist>
+ </listitem>
+ </varlistentry>
</variablelist>
</refsect2>
</refsect1>