Client Disconnects During Congestion over TCP and HTTPID: Q235387
|
Windows Media Player clients may disconnect from a Windows Media Server during temporary congestion conditions. The client may disconnect from the server if the client does not receive any data for about two times the buffering time set on the client. This is about 10 seconds for a player set to the default buffering time of 5 seconds. This forces the client to start at the beginning of on-demand content once the stream is restarted.
The TCP stack in the server drops the connection to the client if it does not receive packet acknowledgements after a certain number of retransmissions.
TCP starts a retransmission timer when each outbound segment is handed down to the IP. If no acknowledgment is received for the data in a given segment before the timer expires, then the segment is retransmitted, up to the number of times specified in the TcpMaxDataRetransmissions registry setting. The default value for this parameter is 5. The retransmission timer is initialized to 3 seconds when a TCP connection is established; however, it is adjusted "on the fly" to match the characteristics of the connection using Smoothed Round Trip Time (SRTT) calculations as described in RFC793. The timer for a given segment is doubled after each retransmission of that segment.
Server administrators can increase the likelihood of keeping client connections alive in the event of temporary congestion by increasing the value of the TcpMaxDataRetransmissions parameter in the server registry. to do this, perform the following steps:
WARNING: Using Registry Editor incorrectly can cause serious problems that
may require you to reinstall your operating system. Microsoft cannot
guarantee that problems resulting from the incorrect use of Registry Editor
can be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys and
Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete
Information in the Registry" and "Edit Registry Data" Help topics in
Regedt32.exe. Note that you should back up the registry before you edit it.
If you are running Windows NT, you should also update your Emergency
Repair Disk (ERD).
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
Value Name: TcpMaxDataRetransmissions
Data Type: REG_DWORD
Value: 6
More information is available in the following document:
TCP/IP Implementation Details
Additional query words: netshow
Keywords :
Version : :4.0
Platform :
Issue type : kbprb
Last Reviewed: July 12, 1999