Knowledge Base

WinNT TCP/IP May Reuse TIME-WAIT Connections Prior to 2MSL

Article ID: 151418

Article Last Modified on 11/1/2006


APPLIES TO


This article was previously published under Q151418

SYMPTOMS

Under sufficiently high TCP connection rates the Windows NT TCP/IP stack may reuse TCP Control Blocks that are in the TIME-WAIT (also called the 2MSL state) table. This can happen on a heavily loaded Web or FTP server when using graceful TCP closes. Reuse of the Control Blocks may terminate a TCP connection in its TIME-WAIT state prior to the 2MSL time period expiring.

There have been no reports of problems related to this symptom; however the behavior is not RFC-compliant.

CAUSE

In Windows NT the system starts to reuse TCP Control Blocks in TIME-WAIT when the number of active connections goes over 1000. Windows NT 4.0 Service Pack 3 increased this threshold to 2000.

For more information on configuring the TIME-WAIT period for Windows NT, please see the following article(s) in the Microsoft Knowledge Base:

149532Windows NT Clients Run Out of Ports

STATUS

Microsoft has confirmed this to be a problem in Windows NT version 4.0. A supported fix is now available, but has not been fully regression-tested and should be applied only to systems experiencing this specific problem. Unless you are severely impacted by this specific problem, Microsoft recommends that you wait for the next Service Pack that contains this fix. Contact Microsoft Technical Support for more information.



This hotfix allows sites with heavy TCP connection rates to configure the threshold of active TCP connections necessary before TCP control blocks are reused.

There are two registry keys that control the use of the TIME-WAIT table:


Additional query words: 4.00 prodnt

Keywords: kbhotfixserver kbqfe kbnetwork KB151418