TcpTimedWaitDelay

TcpTimedWaitDelay

Because the waiting time is too long, a large number of ports are occupied, which affects the number of concurrency.

Data type

Range

Default value

REG_DWORD

0x1E 0x12C ( 30–300 seconds )

0xF0 ( 240 seconds = 4 minutes )

Descriptive
deterministic times also require that TCP be able to release a closed connection and reuse its resources. The time interval between closing and releasing is called TIME_WAIT state or 2lab state. During this time, the client and server can reconnect at less cost than establishing a new connection.
RFC 793 requires that TCP keep closed connections at an interval at least equal to twice the maximum segment lifetime of the Mars Science Laboratory(2) network. When the connection is released, its socket group and TCP control block (TCB) can be used to support another connection. By default, the Mars Science Lab will be defined as 120 seconds, and the value of this entry is equal to two labs, or 4 minutes. However, you can use this to enter a custom interval.
Decreasing the value of this entry allows TCP to release closed connections faster, providing more resources for new connections. However, if the value is too low, TCP will release connection resources before the connection is complete, asking the server to use more resources to re-establish the connection.
Note that
normally, TCP will not publish the value of this entry before closing the connection until it expires. However, before TCP can release the connection, this value is expired if the TCP control block (tcb). The number of tcbs the system creates specifies the value of the MaxFreeTcbs entry.
Windows 2000 does not add this entry to the registry. You can add by editing the registry or use a registry editing program.
Related Articles

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326266830&siteId=291194637