| User Opinions (6 votes) |
83%
16%
|
|
Thank you for rating this answer.
|
Article ID: 57
Last Updated: 18th May 2011 05:02:37 am
By default, Windows can handle a maximum of 5000 open TCP connections.
If your loads are higher, you may experience problems such as failed
requests for new connections and poor performance. You can improve
Windows’ ability to handle the connections by making changes to the
registry, as described below.
Warning:
Use caution when working in the
registry. Changes to the registry can cause serious problems, including
inability to reboot your machine. You may wish to back up the
registry before continuing. For information about using the registry,
including backing up the registry, visit support.microsoft.com and type
"registry editor" into the Search box. Instructions for working with the
registry editor vary depending on your Windows version.
- Start the Registry Editor: From the Windows Start menu, click
Run
(Windows XP) or type Run and press Enter (Windows 7). From the Run
dialog, type regedit and click OK.
- In the Registry Editor, locate
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services. From this
location, for IPv4, go to Tcpip; for IPv6, go to Tcpip6.
- Select the registry subkey Parameters, and check the right panel
for the registry entries MaxUserPort and TcpTimedWaitDelay.
- If these entries do not exist, create them: Right-click on
Parameters, and from the shortcut menu select New and then select DWORD
(32-bit) Value.
On the right side of the Registry Editor, you'll see that a new
registry entry, New Value #1, is automatically created. Change the names
of the new entries as given in step 3.
- To edit the values of these entries, select the entry and press
Enter, or right-click on
the entry and select Modify. The Edit DWORD Value dialog
opens.
- Change the Value setting for MaxUserPort to 65534, and the Value
setting for TcpTimedWaitDelay to 30.
|