diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/rabbitmq.config.example | 2 | ||||
| -rw-r--r-- | docs/rabbitmqctl.1.xml | 55 |
2 files changed, 53 insertions, 4 deletions
diff --git a/docs/rabbitmq.config.example b/docs/rabbitmq.config.example index 08fc42a71d..bea743d679 100644 --- a/docs/rabbitmq.config.example +++ b/docs/rabbitmq.config.example @@ -161,7 +161,7 @@ %% Set the default AMQP heartbeat delay (in seconds). %% - %% {heartbeat, 600}, + %% {heartbeat, 60}, %% Set the max permissible size of an AMQP frame (in bytes). %% 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> |
