User Tools

Site Tools


faq:tcp_ip_timeout_values_windows_server_family

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
faq:tcp_ip_timeout_values_windows_server_family [2007/03/19 15:05 (17 years ago)] – created bobfaq:tcp_ip_timeout_values_windows_server_family [2021/04/13 13:17 (3 years ago)] (current) kevin
Line 1: Line 1:
-TCP/IP Timeout values default to two hoursThis can sometimes lead to connections not breaking after a power outage or network disconnection by a clientThe following registry D-WORD value will set the default time for holding TCP/IP connections from two hours to three minutes:+====== TCP/IP Timeout Value for the Microsoft Windows operating system ====== 
 +See also [[https://support.windwardsoftware.com/a/solutions/articles/66000485985]].
  
-Fix: For inactive connections to be detected sooner than the default two hourschange the Windows NT registry database as follows: +Problems exist where a network dropout or a computer failure will 'lock' a terminaland the user will not be able to log into System Five until the lock is reset.  This is a Windows issue which can be easily resolved.  
  
-1: Open up the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" key using the standard registry editor (REGEDT32.EXE). +The default Microsoft Windows timeout value for improperly disconnected TCP/IP connections is two (2hours. While it is possible to use the Pervasive Monitor Utility to manually delete these sessions, it is generally not recommended as it can be very easy to remove the wrong user or all users.
  
-2: Add or set the following value: Value name: KeepAliveTime type: REG_DWORD data: which is a numeric value representing the number of milliseconds after which "keep alive" messages will be sent across the network in case of inactive connections. Suggested value is 180000 milliseconds.+By changing the TCP/IP timeout value on the server  you can reduce the delay from the default two(2) hours to three (3) minutes.
  
-c) Reboot your machine. +  - Open the Microsoft Windows Registry Editor ( START / RUN / regedit <enter> ) 
 +  - Browse to the "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" key 
 +  - Locate the Value "KeepAliveTime". If it does not exist, create a new REG_DWORD Value called "KeepAliveTime" 
 +  - Set the Value "KeepAliveTime" to decimal 180000 
 +  - Exit the registry editor 
 +  - Reboot your machine for the changes to take effect 
 + 
 +Please be aware that the capitalisation in KeepAliveTime is important! 
 + 
 +<note important> The "KeepAliveTime" setting affects the whole TCP/IP protocol stack not just Pervasive.SQL. This information is also on the Microsoft Knowledgebase, go to: https://docs.microsoft.com/en-us/troubleshoot/browsers/change-keep-alive-time-out</note> 
 + 
 +Registry edit screenshot: \\ 
 +{{:faq:keepalivetime.png?800|}}
  
-See Below: 
  
faq/tcp_ip_timeout_values_windows_server_family.1174341935.txt.gz · Last modified: 2007/03/19 15:05 (17 years ago) by bob