Consultor Eletrônico



Kbase 16429: KeepAlive Option for NT Server
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
KeepAlive Option for NT Server

The KeepAlive option is enabled on the NT server and has been tested
with versions 8.0B and 8.1A2B.

For a detailed description of KeepAlive, please refer to Knowledge
Base 13493: 'Socket KeepAlive Q & A, disconnecting of remote clients'

The registry settings that must be verified are:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<adapter>Parameters\Tcpip
(where <adapter> is the name/type of your ethernet card)

-At this key, from the menu in the Registry Editor, choose 'Edit',
then 'Add Value'. Input the following information:
Value Name: KeepAlive
Data Type: REG_DWORD
Data: 1
Radix: Decimal


The default KeepAlive timeout on NT is 2 hours. To set the KeepAlive
timeout to a different value, this additional change must be made to
the NT Registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

-At this key, from the menu in the Registry Editor, choose 'Edit',
then 'Add Value'. Input the following information:
Value Name: KeepAliveTime
Data Type: REG_DWORD
Data: number of milliseconds to wait before sending a keepalive
packet (i.e. 900000, which is 15 minutes)
Radix: Decimal

Note: the Radix decimal values will be converted to hexadecimal by NT


Additionally, the KeepAlive option on NT will logout the user without
any error message explaining why. Therefore, you cannot distinguish
between a normal disconnection from the database to a keepalive
timeout/connection reset by peer conditions.

Progress Software Technical Support Note # 16429