Author: jfrederic.clere(a)jboss.com
Date: 2012-02-02 05:42:42 -0500 (Thu, 02 Feb 2012)
New Revision: 1940
Modified:
trunk/webapps/docs/config/http.xml
trunk/webapps/docs/config/native.xml
trunk/webapps/docs/connectors.xml
Log:
Add max-sessions and threads explaination.
Modified: trunk/webapps/docs/config/http.xml
===================================================================
--- trunk/webapps/docs/config/http.xml 2012-01-30 15:17:31 UTC (rev 1939)
+++ trunk/webapps/docs/config/http.xml 2012-02-02 10:42:42 UTC (rev 1940)
@@ -86,6 +86,13 @@
If not specified, this attribute is set to 4096 (4 kilobytes).</p>
</attribute>
+ <attribute name="max-connections" required="false">
+ <p>Max of connections supported by the connector. That is the max number of
threads
+ when using the JIO connector and the end point poller size for all connectors.
+ for the native connector the max number of threads is calculated (32 times the
+ number of processors available to the Java virtual machine.).</p>
+ </attribute>
+
<attribute name="protocol" required="false">
<p>
Sets the protocol to handle incoming traffic.
Modified: trunk/webapps/docs/config/native.xml
===================================================================
--- trunk/webapps/docs/config/native.xml 2012-01-30 15:17:31 UTC (rev 1939)
+++ trunk/webapps/docs/config/native.xml 2012-02-02 10:42:42 UTC (rev 1940)
@@ -29,6 +29,19 @@
<p>See <a href="http.html">http connector</a> for the
Common Attributes</p>
+ <attributes>
+ <attribute name="max-connections" required="false">
+ <p>Max of connections supported by the connector.
+ That is the end point poller size and the size of the sendfile poller too.
+ The default values depend on the OS and on
org.apache.tomcat.util.Constants.LOW_MEMORY.</p>
+ <p>LOW_MEMORY=true : 1024</p>
+ <p>LOW_MEMORY=false : 32768</p>
+ <p>windows: 1024 Note that also the maximum support by the
platform.</p>
+ <p>Note that the max number of threads is calculated and it is 32 times the
+ number of processors available to the Java virtual machine. (32 in case
org.apache.tomcat.util.Constants.LOW_MEMORY=true)</p>
+ </attribute>
+ </attributes>
+
</subsection>
</section>
Modified: trunk/webapps/docs/connectors.xml
===================================================================
--- trunk/webapps/docs/connectors.xml 2012-01-30 15:17:31 UTC (rev 1939)
+++ trunk/webapps/docs/connectors.xml 2012-02-02 10:42:42 UTC (rev 1940)
@@ -52,8 +52,6 @@
</ul>
</p>
-<p><b>Other native connectors supporting AJP may work, but are no longer
supported.</b></p>
-
</section>
</body>