You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rg...@apache.org on 2014/11/26 14:41:38 UTC

svn commit: r1641817 - in /qpid/trunk/qpid/doc/book/src/java-broker: Java-Broker-Runtime-Background-Recovery.xml Java-Broker-Runtime-Connection-Limit.xml Java-Broker-Runtime.xml

Author: rgodfrey
Date: Wed Nov 26 13:41:38 2014
New Revision: 1641817

URL: http://svn.apache.org/r1641817
Log:
QPID-6165 : Add documentation for port connection limits

Added:
    qpid/trunk/qpid/doc/book/src/java-broker/Java-Broker-Runtime-Connection-Limit.xml   (with props)
Modified:
    qpid/trunk/qpid/doc/book/src/java-broker/Java-Broker-Runtime-Background-Recovery.xml
    qpid/trunk/qpid/doc/book/src/java-broker/Java-Broker-Runtime.xml

Modified: qpid/trunk/qpid/doc/book/src/java-broker/Java-Broker-Runtime-Background-Recovery.xml
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/doc/book/src/java-broker/Java-Broker-Runtime-Background-Recovery.xml?rev=1641817&r1=1641816&r2=1641817&view=diff
==============================================================================
--- qpid/trunk/qpid/doc/book/src/java-broker/Java-Broker-Runtime-Background-Recovery.xml (original)
+++ qpid/trunk/qpid/doc/book/src/java-broker/Java-Broker-Runtime-Background-Recovery.xml Wed Nov 26 13:41:38 2014
@@ -28,7 +28,7 @@
     take considerable time. During this time no messaging can be performed.</para>
   <para>The Broker has a background recovery feature allows the system to return to operation
     sooner. If enabled the recovery process takes place in the background allow producers and
-    consumers to being work earlier.</para>
+    consumers to begin work earlier.</para>
   <para>The feature respects the message delivery order requirements of standard queues, that is any
     messages arriving whilst the background recovery is in flight won't overtake older messages
     still to be recovered from disk. There is an exception for the out of order queue types whilst

Added: qpid/trunk/qpid/doc/book/src/java-broker/Java-Broker-Runtime-Connection-Limit.xml
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/doc/book/src/java-broker/Java-Broker-Runtime-Connection-Limit.xml?rev=1641817&view=auto
==============================================================================
--- qpid/trunk/qpid/doc/book/src/java-broker/Java-Broker-Runtime-Connection-Limit.xml (added)
+++ qpid/trunk/qpid/doc/book/src/java-broker/Java-Broker-Runtime-Connection-Limit.xml Wed Nov 26 13:41:38 2014
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+
+<section id="Java-Broker-Runtime-Connection-Limit">
+  <title>Connection Limits</title>
+  <para>
+     Each connection to the Broker consumes resources while it is connected. In order to protect
+     the Broker against malfunctioning (or malicious) client processes, it is possible to limit the
+     number of connections that can be active on any given port.
+   </para>
+   <para>
+       Connection limits on AMQP ports are controlled by an attribute "maxOpenConnections" on
+       the port. By default this takes the value of the context variable 
+       <literal>qpid.port.max_open_connections</literal> which in itself is defaulted to the
+       value <literal>-1</literal> meaning there is no limit.
+   </para>
+   <para>
+       If the interpolated value of <literal>maxOpenConnections</literal> on an AMQP port is a
+       positive integer, then when that many active connections have been established no new
+       connections will be allowed (until an existing connection has been closed). Any such 
+       rejection of a connection will be accompanied by the operational log message
+       <link linkend="Java-Broker-Appendix-Operation-Logging-Message-PRT-1005">PRT-1005</link>.
+   </para>
+   <para>
+       The context variable <literal>qpid.port.open_connections_warn_percent</literal> can be 
+       used to control when a warning log message is generated as the number of open connections
+       approaches the limit for the port. The default value of this variable is 
+       <literal>80</literal> meaning that if more the number of open connections to the port
+       has exceeded 80% of the given limit then the operatinal log message 
+       <link linkend="Java-Broker-Appendix-Operation-Logging-Message-PRT-1004">PRT-1004</link>
+       will be generated.
+   </para>
+</section>

Propchange: qpid/trunk/qpid/doc/book/src/java-broker/Java-Broker-Runtime-Connection-Limit.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: qpid/trunk/qpid/doc/book/src/java-broker/Java-Broker-Runtime.xml
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/doc/book/src/java-broker/Java-Broker-Runtime.xml?rev=1641817&r1=1641816&r2=1641817&view=diff
==============================================================================
--- qpid/trunk/qpid/doc/book/src/java-broker/Java-Broker-Runtime.xml (original)
+++ qpid/trunk/qpid/doc/book/src/java-broker/Java-Broker-Runtime.xml Wed Nov 26 13:41:38 2014
@@ -33,4 +33,5 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Java-Broker-Runtime-Flow-To-Disk.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Java-Broker-Runtime-Background-Recovery.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Java-Broker-Runtime-Message-Compression.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="Java-Broker-Runtime-Connection-Limit.xml"/>
 </chapter>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org