From b8493d5ec168abb279c2fead30282283f08271f1 Mon Sep 17 00:00:00 2001
From: fhanik (int)The socket receive buffer (SO_RCVBUF) size in bytes. Default value is (int)The socket send buffer (SO_SNDBUF) size in bytes. Default value is (bool)same as the standard setting (bool)Boolean value for the socket's keep alive setting (SO_KEEPALIVE). Default is (bool)Boolean value for the socket OOBINLINE setting. Default value is (bool)Boolean value for the sockets reuse address option (SO_REUSEADDR). Default value is (bool)Boolean value for the sockets so linger option (SO_LINGER). Default value is (bool)Value in seconds for the sockets so linger option (SO_LINGER). Default value is (int)Value in milliseconds for the sockets read timeout (SO_TIMEOUT). Default value is (byte)Value between (int)The first value for the performance settings. Default is (int)The second value for the performance settings. Default is (int)The third value for the performance settings. Default is 2518843800tcpNoDelay. Default value is falsefalse. truetruetrue.
+ This option is paired with the soLingerTime value.25 seconds.
+ This option is paired with the soLinger value.5000 milliseconds.0 and 255 for the traffic class on the socket, 0x04 | 0x08 | 0x0101, see Socket Performance Options0, see Socket Performance Options1, see Socket Performance Options
When you are using direct buffers, make sure you allocate the appropriate amount of memory for the
direct memory space. On Sun's JDK that would be something like -XX:MaxDirectMemorySize=256m
(int)The socket receive buffer (SO_RCVBUF) size in bytes. Default value is 25188
(int)The socket send buffer (SO_SNDBUF) size in bytes. Default value is 43800
(int)Each connection that is opened up in Tomcat get associated with a read and a write ByteBuffer
This attribute controls the size of these buffers. By default this read buffer is sized at 8192 bytes.
@@ -511,41 +551,6 @@
The default is 500.
Other values are -1. unlimited cache, and 0, no cache.
(bool)same as the standard setting tcpNoDelay. Default value is false
(bool)Boolean value for the socket's keep alive setting (SO_KEEPALIVE). Default is false.
(bool)Boolean value for the socket OOBINLINE setting. Default value is true
(bool)Boolean value for the sockets reuse address option (SO_REUSEADDR). Default value is true
(bool)Boolean value for the sockets so linger option (SO_LINGER). Default value is true.
- This option is paired with the soLingerTime value.
(bool)Value in seconds for the sockets so linger option (SO_LINGER). Default value is 25 seconds.
- This option is paired with the soLinger value.
(int)Value in milliseconds for the sockets read timeout (SO_TIMEOUT). Default value is 5000 milliseconds.
(byte)Value between 0 and 255 for the traffic class on the socket, 0x04 | 0x08 | 0x010
(int)The first value for the performance settings. Default is 1, see Socket Performance Options
(int)The second value for the performance settings. Default is 0, see Socket Performance Options
(int)The third value for the performance settings. Default is 1, see Socket Performance Options
(int)The max selectors to be used in the pool, to reduce selector contention.
Use this option when the command line org.apache.tomcat.util.net.NioSelectorShared value is set to false.
@@ -738,10 +743,10 @@
Classname Http11Protocol Http11NioProtocol Http11AprProtocol
Tomcat Version 3.x 4.x 5.x 6.x 6.x 5.5.x 6.x
Support Polling NO YES YES
- Polling Size N/A Unlimited - Restricted by mem Unlimited
- Read HTTP Request Blocking Blocking Blocking
- Read HTTP Body Blocking Blocking Blocking
- Write HTTP Response Blocking Blocking Blocking
+ Polling Size N/A Unlimited - Restricted by mem Unlimited - Configurable
+ Read HTTP Request Blocking Non Blocking Blocking
+ Read HTTP Body Blocking Sim Blocking Blocking
+ Write HTTP Response Blocking Sim Blocking Blocking
SSL Support Java SSL Java SSL OpenSSL
SSL Handshake Blocking Non blocking Blocking
Max Connections maxThreads See polling size See polling size
--
2.11.0