summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEmile Joubert <emile@rabbitmq.com>2011-08-17 14:17:09 +0100
committerEmile Joubert <emile@rabbitmq.com>2011-08-17 14:17:09 +0100
commit615893085e567ba6a0c7e0fc0fe71a628bfe557f (patch)
tree5abbbcb69caf82372354d1785a6ba7d909108c01 /docs
parent5741ad0382901ef0c57f957446e8ba38f1ba5f19 (diff)
downloadrabbitmq-server-615893085e567ba6a0c7e0fc0fe71a628bfe557f.tar.gz
Query total RAM when updating highwatermark
Diffstat (limited to 'docs')
-rw-r--r--docs/rabbitmqctl.1.xml20
1 files changed, 14 insertions, 6 deletions
diff --git a/docs/rabbitmqctl.1.xml b/docs/rabbitmqctl.1.xml
index c506ad87..a92a1056 100644
--- a/docs/rabbitmqctl.1.xml
+++ b/docs/rabbitmqctl.1.xml
@@ -1296,9 +1296,13 @@
<para>
Displays broker status information such as the running
applications on the current Erlang node, RabbitMQ and
- Erlang versions, OS name and memory statistics. (See
- the <command>cluster_status</command> command to find
- out which nodes are clustered and running.)
+ Erlang versions, OS name and memory statistics.
+ In this context <varname>vm_memory_high_watermark</varname>
+ indicates to the fraction of memory at which flow control is
+ triggered. <varname>vm_memory_limit</varname> refers to the
+ absolute memory threshhold (in bytes) at which flow control
+ is triggered. (See the <command>cluster_status</command>
+ command to find out which nodes are clustered and running.)
</para>
<para role="example-prefix">For example:</para>
<screen role="example">rabbitmqctl status</screen>
@@ -1392,11 +1396,15 @@
</variablelist>
<para>
Sets the memory threshhold fraction at which memory-based flow control is
- triggered, until the broker restarts. This command is intended for use in
- systems that support hot-swappable RAM. The corresponding configuration
+ triggered, until the broker restarts. The corresponding configuration
setting should also be changed when the effects of this command should
survive a broker restart. Use the <command>status</command> command to
- confirm the currently active threshhold.
+ confirm the currently active memory threshhold.
+ </para>
+ <para>
+ This command may also be used to update the total memory on systems that support
+ hot-swappable RAM. The total amount of RAM is queried and the supplied fraction
+ is used to determine the absolute threshhold.
</para>
<screen role="example">rabbitmqctl set_vm_memory_high_watermark 0.4</screen>
<para role="example">