The StarPipes server uses the system TCP/IP KeepAlive parameter settings to clean up connections from clients that have disconnected from the network without releasing their connection to the host. The default values for the KeepAlive parameter should be sufficient for most users, but you can change them if necessary, such as to clean up abandoned license connections more frequently. The KeepAlive parameter names vary by operating system but generally specify:
the interval to wait before probing the idle connection (on most platforms the default is 2 hours)
the interval to wait before retrying the probe after an initial failure to respond
the maximum number of times to retry the probe
Modifying the KeepAlive parameter settings may affect the operation of other applications on the computer. You also may want to set additional TCP/IP parameters that affect TCP connections, depending on the overall impact to other TCP/IP parameters after you modify the KeepAlive settings.
This technical document describes the general steps for displaying and modifying the KeepAlive parameter settings.
The following table shows the names of the KeepAlive parameters:
Operating System |
Parameter wait time before probing the connection |
Parameter interval between retry probes |
Parameter maximum retry probes |
Unit of measure |
Windows |
KeepAliveTime |
KeepAlive Interval |
TcpMaxDataRetransmission |
milliseconds |
(1): tcp_keepalives_kill cannot be modified on HP. It is set to 1.
Follow these steps to modify the values.
Log in as an Administrator on the Windows computer running StarPipes.
To display information about the network tuning parameters:
Platform |
Operating System Command |
Windows |
Refer to http://technet.microsoft.com/en-us/library/bb726981.aspx#EDAA |
Display the current KeepAlive settings:
Platform |
Operating System Command |
Windows |
From the Start menu, choose Run and enter regedit to view the parameter located in the Registry file HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters |
Display the range of available settings:
Platform |
Operating System Command |
Windows |
Refer to http://technet.microsoft.com/en-us/library/bb726981.aspx#EDAA. |
Modify the KeepAlive values as desired.
Platform |
Operating System Command |
Windows |
Run regedit to edit the Windows Registry key located in the path HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters. After you change the Registry value you must restart the computer for the change to take affect. |