From 6b0ee3c7947d6b9ae966ce0a9f167c788d106111 Mon Sep 17 00:00:00 2001 From: fhanik Date: Wed, 21 Feb 2007 17:28:24 +0000 Subject: [PATCH] Added in remainder of docs 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 | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/webapps/docs/config/http.xml b/webapps/docs/config/http.xml index 1cddd277e..f4e17ec4a 100644 --- a/webapps/docs/config/http.xml +++ b/webapps/docs/config/http.xml @@ -419,12 +419,16 @@

-

Document TBD - Other values are -1. unlimited cache, and 0, no cache.

+

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.

-

Document TBD - Other values are -1. unlimited cache, and 0, no cache.

+

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.

same as the standard setting tcpNoDelay. Default value is false

@@ -461,6 +465,23 @@

The third value for the performance settings. Default is 1, see Socket Performance Options

+ + 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. + + + 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) + + + The following command line options are available for the NIO connector:
+ -Dorg.apache.tomcat.util.net.NioSelectorShared=true|false - 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 +
-- 2.11.0