This property is only valid for i5/OS and distributed
platforms. It is ignored on the z/OS platform because asynchronous
I/O sockets are used to maintain connections in that environment.Use
the MaxKeepAliveConnections property to specify the maximum number
of concurrent keep alive (persistent) connections across all HTTP
transports. To make a particular transport close connections after
a request, you can set MaxKeepAliveConnections to 0 (zero)
or you can set KeepAliveEnabled to false on that transport.
The Web server plug-in keeps connections open to the application
server as long as it can. However, if the value of this property is
too small, performance is negatively impacted because the plug-in
has to open a new connection for each request instead of sending multiple
requests through one connection. The application server might not
accept a new connection under a heavy load if there are too many sockets
in TIME_WAIT state. If all client requests are going through the
Web server plug-in and there are many TIME_WAIT state sockets for
port 9080, the application server is closing connections prematurely,
which decreases performance. The application server closes the connection
from the plug-in, or from any client, for any of the following reasons:
- The client request was an HTTP 1.0 request when the Web server
plug-in always sends HTTP 1.1 requests.
- The maximum number of concurrent keep-alives was reached. A keep-alive
must be obtained only once for the life of a connection, that is,
after the first request is completed, but before the second request
can be read.
- The maximum number of requests for a connection was reached,
preventing denial of service attacks in which a client tries to hold
on to a keep-alive connection forever.
- A time out occurred while waiting to read the next request or
to read the remainder of the current request.
Data type |
Integer |
Default |
90% of the maximum number of threads in the Web container
thread pool. This prevents all of the threads from being held by keep
alive connections so that there are threads available to handle new
incoming connect requests. |