summaryrefslogtreecommitdiff
path: root/docs/rabbitmqctl.1.xml
diff options
context:
space:
mode:
authorMichael Klishin <mklishin@pivotal.io>2016-08-31 03:31:08 +0300
committerMichael Klishin <mklishin@pivotal.io>2016-08-31 03:31:08 +0300
commit8765f2c939aefe864633e697f69878cea6802612 (patch)
tree06ef8eec55eaff902ea2b39daa0f21cb90cb503d /docs/rabbitmqctl.1.xml
parentc12d5a6c9a77a670614b04a64df73263d64789f7 (diff)
parent6d9d506f453e38e1134235c57d365c91af5b6cc4 (diff)
downloadrabbitmq-server-git-8765f2c939aefe864633e697f69878cea6802612.tar.gz
Merge branch 'master' into rabbitmq-server-930
Conflicts: src/rabbit_control_main.erl src/rabbit_upgrade_functions.erl
Diffstat (limited to 'docs/rabbitmqctl.1.xml')
-rw-r--r--docs/rabbitmqctl.1.xml55
1 files changed, 52 insertions, 3 deletions
diff --git a/docs/rabbitmqctl.1.xml b/docs/rabbitmqctl.1.xml
index fe60e1a6d2..701c0d82bf 100644
--- a/docs/rabbitmqctl.1.xml
+++ b/docs/rabbitmqctl.1.xml
@@ -1237,6 +1237,55 @@
</refsect2>
<refsect2>
+ <title>Virtual Host Limits</title>
+ <para>
+ It is possible to enforce certain limits on virtual hosts.
+ </para>
+ <variablelist>
+ <varlistentry>
+ <term><cmdsynopsis><command>set_vhost_limits</command> <arg choice="opt">-p <replaceable>vhostpath</replaceable></arg> <arg choice="req"><replaceable>definition</replaceable></arg></cmdsynopsis></term>
+ <listitem>
+ <para>
+ Sets virtual host limits
+ </para>
+ <variablelist>
+ <varlistentry>
+ <term>definition</term>
+ <listitem><para>
+ The definition of the limits, as a
+ JSON term. In most shells you are very likely to
+ need to quote this.
+
+ Recognised limits: max-connections (0 means "no limit").
+ </para></listitem>
+ </varlistentry>
+ </variablelist>
+ <para role="example-prefix">For example:</para>
+ <screen role="example">rabbitmqctl set_vhost_limits -p qa_env '{"max-connections": 1024}'</screen>
+ <para role="example">
+ This command limits the max number of concurrent connections in vhost <command>qa_env</command>
+ to 1024.
+ </para>
+ </listitem>
+ </varlistentry>
+
+<varlistentry>
+ <term><cmdsynopsis><command>clear_vhost_limits</command> <arg choice="opt">-p <replaceable>vhostpath</replaceable></arg></cmdsynopsis></term>
+ <listitem>
+ <para>
+ Clears virtual host limits
+ </para>
+ <para role="example-prefix">For example:</para>
+ <screen role="example">rabbitmqctl clear_vhost_limits -p qa_env</screen>
+ <para role="example">
+ This command clears vhost limits in vhost <command>qa_env</command>.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+
+ <refsect2>
<title>Server Status</title>
<para>
The server status queries interrogate the server and return a list of
@@ -2093,9 +2142,9 @@
<varlistentry>
<term>fraction</term>
<listitem><para>
- Limit relative to the total amount available RAM
- as a non-negative floating point number.
- Values lower than 1.0 can be dangerous and
+ Limit relative to the total amount available RAM
+ as a non-negative floating point number.
+ Values lower than 1.0 can be dangerous and
should be used carefully.
</para></listitem>
</varlistentry>