Added in remainder of docs
authorfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 21 Feb 2007 17:28:24 +0000 (17:28 +0000)
committerfhanik <fhanik@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 21 Feb 2007 17:28:24 +0000 (17:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@510111 13f79535-47bb-0310-9956-ffa450edef68

webapps/docs/config/http.xml

index 1cddd27..f4e17ec 100644 (file)
         </p>
       </attribute>
       <attribute name="socket.keyCache" required="false">
-        <p>Document TBD
-          Other values are -1. unlimited cache, and 0, no cache.</p>
+        <p>Tomcat will cache KeyAttachment objects to reduce garbage collection.
+           The integer value specifies how many objects to keep in the cache at most.
+           The default is 500.
+           Other values are -1. unlimited cache, and 0, no cache.</p>
       </attribute>
       <attribute name="socket.eventCache" required="false">
-        <p>Document TBD
-          Other values are -1. unlimited cache, and 0, no cache.</p>
+        <p>Tomcat will cache PollerEvent objects to reduce garbage collection.
+           The integer value specifies how many objects to keep in the cache at most.
+           The default is 500.
+           Other values are -1. unlimited cache, and 0, no cache.</p>
       </attribute>
       <attribute name="socket.tcpNoDelay" required="false">
         <p>same as the standard setting <code>tcpNoDelay</code>. Default value is false</p>
       <attribute name="socket.performanceBandwidth" required="false">
         <p>The third value for the performance settings. Default is 1, see <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/net/Socket.html#setPerformancePreferences(int,%20int,%20int)">Socket Performance Options</a></p>
       </attribute>      
+      <attribute name="selectorPool.maxSelectors">
+        The max selectors to be used in the pool, to reduce selector contention.
+        Use this option when the command line o.a.t.u.net.NioSelectorShared value is set to false.
+        Default value is 200.
+      </attribute>
+      <attribute name="selectorPool.maxSpareSelectors">
+        The max spare selectors to be used in the pool, to reduce selector contention.
+        When a selector is returned to the pool, the system can decide to keep it or let it be GC:ed.
+        Use this option when the command line o.a.t.u.net.NioSelectorShared value is set to false.
+        Default value is -1 (unlimited)
+      </attribute>
+      <attribute name="command line options">
+        The following command line options are available for the NIO connector:<br/>
+        <code>-Dorg.apache.tomcat.util.net.NioSelectorShared=true|false</code> - default is true.
+        Set this value to false if you wish to use a selector for each thread.
+        the property. If you do set it to false, you can control the size of the pool of selectors by using the 
+      </attribute>
     </attributes>
   </subsection>