diff options
| author | Michael Klishin <mklishin@pivotal.io> | 2017-01-19 10:53:56 +0300 |
|---|---|---|
| committer | Michael Klishin <mklishin@pivotal.io> | 2017-01-19 10:53:56 +0300 |
| commit | 66a44fa157f2ab3f68e9894f13a0f4eb4ff71b80 (patch) | |
| tree | af93be4988c777f3d6e533954a07c0e42284a115 /docs | |
| parent | d8fd7d3f04b9e42513dd493c91167039076e75f3 (diff) | |
| download | rabbitmq-server-git-66a44fa157f2ab3f68e9894f13a0f4eb4ff71b80.tar.gz | |
Correct and expand rabbitmqctl(1) examples for vhost limits
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/rabbitmqctl.1.xml | 19 |
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> |
