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

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
faq:tcp_ip_timeout_values_windows_server_family [2007/03/19 15:06 (17 years ago)] bobfaq:tcp_ip_timeout_values_windows_server_family [2007/08/08 17:42 (17 years ago)] – Replaced with Australian version. =) lawrence
Line 1: Line 1:
-TCP/IP Timeout values default to two hours. This can sometimes lead to connections not breaking after power outage or network disconnection by client. The 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 ====== 
 +Problems exist where a network dropout or computer failure will 'lock' a terminal, and 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.  
  
-Fix: For inactive connections to be detected sooner than the default two hours, change the Windows NT registry database as follows: +The default Microsoft Windows timeout value for improperly disconnected TCP/IP connections is two (2) hours. 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.
  
-1: Open up the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" key using the standard registry editor (REGEDT32.EXE). +By changing the TCP/IP timeout value on the server  you can reduce the delay from the default two(2) hours to three (3minutes.
  
-2: Add or set the following value: Value name: KeepAliveTime type: REG_DWORD data: which is numeric value representing the number of milliseconds after which "keep alivemessages will be sent across the network in case of inactive connections. Suggested value is 180000 milliseconds.+  - 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 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
  
-c) Reboot your machine. +Please be aware that the capitalisation in KeepAliveTime is important!
  
-See Below:+<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\\ [[http://support.microsoft.com/kb/120642/en-us|TCP/IP and NetBT configuration parameters for Windows 2000 or Windows NT]] \\ [[http://support.microsoft.com/kb/314053/en-us|TCP/IP and NBT configuration parameters for Windows XP]]</note>
  
 +Registry edit screenshot: \\
 {{faq:tcpip_timeout.jpg|}} {{faq:tcpip_timeout.jpg|}}
faq/tcp_ip_timeout_values_windows_server_family.txt · Last modified: 2021/04/13 13:17 (3 years ago) by kevin