Cleaning Up Client Connections

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:

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:

Table 1: 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.

Displaying and Modifying KeepAlive Values

Follow these steps to modify the values.

  1. Log in as an Administrator on the Windows computer running StarPipes.

  2. 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

  1. 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

  1. Display the range of available settings:

Platform

Operating System Command

Windows

Refer to http://technet.microsoft.com/en-us/library/bb726981.aspx#EDAA.

  1. 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.