Friday, July 18, 2014

TCP Stack Tuning- MaxUserPort Registry

Increase Concurrent Request - Ports per IP Address.

Environment IIS 8.0 + Windows 2012 R2
*       
Type Win + R Run Command
Type Regedit

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters\MaxUserPort
If MaxUserPort not exists, create this to fine tune the TCP port.
Windows create 5000 port connections for 1 IP address. We can increase this size upto max value=65,534
This will ensure maximum concurrent connections requests are served by the web server. Also try to fine tune the website connection limit in website advanced settings  and queue length in application pool.
http://social.technet.microsoft.com/Forums/en-US/69449ce9-ea58-48ec-b675-c55480ba4bbb/windows-server-2012-and-tcpip-maxuserport?forum=winserverPN
 
Post a Comment