Adjusting the client connection timeout period
For HP-UX
For IBM RS/6000
Configuration Guide
Adaptive Server uses the
clients that are no longer active. When a connection to a client is inactive for a
period of time (the timeout period), the operating system sends
packets at regular intervals. If it does not receive a response from the client
machine for any of these packets, the operating system notifies Adaptive
Server that the client is no longer responding. Adaptive Server then terminates
the client's connection.
The
default timeout period is 2 hours (7,200,000 ms). To display
KEEPALIVE
the current time value, use the command for your platform as shown in the
following sections.
To display the current timeout period, enter:
/usr/contrib/bin/nettune -l
The switch is a lowercase "L", not the number one (1).
Note
The
parameter specifies the length of time (measured in seconds)
tcp_keepstart
to keep an idle connection active before the system checks to see if the
connection died.
To change the timeout period, use the
To display the current timeout value, enter:
/usr/sbin/no -o tcp_keepidle
The
parameter specifies the length of time (measured in half
tcp_keepidle
seconds) to keep an idle connection active before the system checks to see if
the connection died. The default is 14,400 half seconds (7200 seconds, or 2
hours).
IBM recommends a value of at least 15 minutes.
CHAPTER 3
Configuring the Operating System
option of the TCP/IP protocol to detect
KEEPALIVE
nettune -s
KEEPALIVE
command.
41
Need help?
Do you have a question about the Adaptive Server and is the answer not in the manual?