Limited number of TCP clients on Windows 2008 R2 VM
-
Saturday, March 10, 2012 11:11 PM
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
All Replies
-
Monday, March 12, 2012 7:05 AMModerator
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
- Marked As Answer by Tiger LiModerator Thursday, March 15, 2012 12:50 AM

