Limited number of TCP clients on Windows 2008 R2 VM
-
2012年3月10日 下午 11:11
Hi
I have a TCP (GPRS) windows service running on a Windows 2008 Server R2 on a virtual machine. When the service is started around 1500-1980 TCP connections are made by client devices on a port. Once this limit is reached other connections are refused. I have added the registry entry MaxUserPort and set it to maximum without any increase. I have set the following keys as well:
TcpNumConnections - 16777214
TcpTimedWaitDelay - 60
TcpWindowSize - TcpWindowSize
KeepAliveTime - 30
MaxFreeTcbs - 10000
MaxHashTableSize - 10000
I am still limited to the same value of 1500-1980.
Are there any other settings that I need to change or could tis be an issue with it being a VM?
Thanks in advance
Khalid
Khalid
所有回覆
-
2012年3月12日 上午 07:05版主
Hi Khalid,
Thanks for posting here.
I think it is fine with current settings in order to restrict the max number of the connections on server.
But may I know the further concern about why we have to do that ? avoid getting folding attack ?MaxUserPort - what it is, what it does, when it's important
http://blogs.technet.com/b/tristank/archive/2008/03/11/maxuserport-what-it-is-what-it-does-when-it-s-important.aspxSuggestions in the guide below should also help:
Performance Tuning Guidelines for Windows Server 2008 R2
http://msdn.microsoft.com/en-us/windows/hardware/gg463392Thanks.
Tiger Li
Tiger Li
TechNet Community Support
- 已標示為解答 Tiger LiModerator 2012年3月15日 上午 12:50

