Salesforce

How to set TCP/IP KeepAlive for Windows XP/NT/2000/2003

« Go Back

Information

 
TitleHow to set TCP/IP KeepAlive for Windows XP/NT/2000/2003
URL NameP1993
Article Number000135636
EnvironmentProduct: Progress
Version: 9.x
Product: OpenEdge
Version: All supported versions
OS: Windows
Question/Problem Description
How to change the TCP/IP KeepAlive value for Windows XP / NT / 2000 / 2003
How to set TCP KeepAlive for Windows servers
How to configure the TCP/IP timeout for Windows?
 
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
There is no way within Progress to control the TCP/IP timeout. This keepalive timeout can only be controlled by parameters within the TCP/IP layer. Changing the timeout value will affect all other processes relying on TCP/IP.

The following registry settings need to be changed or added to change the Windows keepalive timeout value:
  • KeepAliveInterval
  • KeepAliveTime
  • TcpMaxDataRetransmissions

These Keepalive keys are found in the following REGISTRY hive:
 
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

KeepAliveInterval 
 
Key: Tcpip\Parameters
Value Type: REG_DWORD - Time in milliseconds
Valid Range: 1 - 0xFFFFFFFF
Default: 1000 (one second)
Description: This parameter determines the interval separating keep alive transmissions until a response is received. Once a response is receive, the delay until the next keep alive transmission is again controlled by the value of KeepAliveTime. The connection will be aborted after the number of retransmissions specified by TcpMaxDataRetransmissions have gone unanswered.

KeepAliveTime:

Key: Tcpip\Parameters
Value Type: REG_DWORD - Time in milliseconds
Valid Range: 1 - 0xFFFFFFFF
Default: 7,200,000 (two hours)
Description: The parameter controls how often TCP attempts to verify that an idle connection is still intact by sending a keep alive packet. If the remote system is still reachable and functioning, it will acknowledge the keep alive transmission. Keep alive packets are not sent by default. This feature may be enabled on a connection by an application.

TcpMaxDataRetransmissions:

Key: Tcpip\Parameters
Value Type: REG_DWORD - Number
Valid Range: 0 - 0xFFFFFFFF
Default: 5
Description: This parameter controls the number of times TCP will retransmit an individual data segment (non connect segment) before aborting the connection. The retransmission timeout is doubled with each successive retransmission on a connection. It is reset when responses resume. The base timeout value is dynamically determined by the measured round-trip time on the connection.

For further information Refer to Microsoft Windows Documentation, for example: https://technet.microsoft.com/en-us/library/cc962453.aspx
Workaround
Notes
Keyword Phrase
Last Modified Date11/20/2020 7:38 AM

Powered by