summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMichael Klishin <mklishin@pivotal.io>2017-01-20 20:29:00 +0300
committerMichael Klishin <mklishin@pivotal.io>2017-01-20 20:29:00 +0300
commitee27e6650ac243125a9be080a71446e40ec4af8e (patch)
tree6ae100671ad7bd30cea90629d749c425470262cd /docs
parentcfe9829874149d431428217947d97f9c2d2c84a7 (diff)
parent66a44fa157f2ab3f68e9894f13a0f4eb4ff71b80 (diff)
downloadrabbitmq-server-git-ee27e6650ac243125a9be080a71446e40ec4af8e.tar.gz
Merge branch 'master' into rabbitmq-event-exchange-10
Diffstat (limited to 'docs')
-rw-r--r--docs/rabbitmqctl.1.xml19
1 files changed, 16 insertions, 3 deletions
diff --git a/docs/rabbitmqctl.1.xml b/docs/rabbitmqctl.1.xml
index 32dc43845a..ec3bbde75c 100644
--- a/docs/rabbitmqctl.1.xml
+++ b/docs/rabbitmqctl.1.xml
@@ -1328,15 +1328,28 @@
JSON term. In most shells you are very likely to
need to quote this.
- Recognised limits: max-connections (0 means "no limit").
+ Recognised limits: max-connections, max-queues. Use a negative value to specify "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>
+ <screen role="example">rabbitmqctl set_vhost_limits -p qa_env '{"max-connections": 64}'</screen>
<para role="example">
This command limits the max number of concurrent connections in vhost <command>qa_env</command>
- to 1024.
+ to 64.
+ </para>
+ <screen role="example">rabbitmqctl set_vhost_limits -p qa_env '{"max-queues": 256}'</screen>
+ <para role="example">
+ This command limits the max number of queues in vhost <command>qa_env</command>
+ to 256.
+ </para>
+ <screen role="example">rabbitmqctl set_vhost_limits -p qa_env '{"max-connections": -1}'</screen>
+ <para role="example">
+ This command clears the max number of connections limit in vhost <command>qa_env</command>.
+ </para>
+ <screen role="example">rabbitmqctl set_vhost_limits -p qa_env '{"max-connections": 0}'</screen>
+ <para role="example">
+ This command disables client connections in vhost <command>qa_env</command>.
</para>
</listitem>
</varlistentry>