Server 2003 breakthrough 100,000 connection settings

  
        

I have always thought that WINDOES2003 has a limit on the number of connections. In fact, the operating system itself has no restrictions. It only needs to be set up to achieve the superior performance of WINDOWS2003, because there are many large-scale services used in the WINDOWS system. Such as: ppstream, Shanda online game server, it is said that QQ is also, but has not confirmed. Less nonsense, the specific settings are as follows: First, the server side settings registry: HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters add or modify the following table items 1, key value: SynAttackProtect type: REG_DWORD range: 0, 1 from WIN2003 SP1 starts with a default value of 1. This value determines the protection measures taken when the system is subjected to a SYN attack, including reducing the number of retries for the system SYN+ACK. 2. Key value: TcpMaxHalfOpen type: REG_DWORD range: 100-0xFFFF This value is a semi-join that the system allows to open at the same time. By default, WIN2K PRO and SERVER are 100, ADVANCED SERVER is 500, and WIN2003 is 5000. 3. Key value: TcpMaxHalfOpenRetried Type: REG_DWORD Range: 80-0xFFFF This value determines under what circumstances the system will open SYN attack protection. By default WIN2K PRO and SERVER are 80, ADVANCED SERVER is 400, and WIN2003 is 2500. Exit the Registry Editor and restart your computer. Second, the client If you try to establish a TCP connection from a port larger than 5000, the local computer will respond with the following WSAENOBUFS (10055) error message: The operation on the socket could not be performed due to insufficient buffer space or queue full. The default maximum number of temporary TCP ports is 5000. To increase the upper limit of the temporary port, follow these steps: Start Registry Editor. Locate the following subkey in the registry, and then click the parameter: HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters Add or modify the following table entry 1. Value: MaxUserPort Type: REG_DWORD Range: 5000-65534 (decimal) Default : 0x1388 (5000 decimal) Description: This parameter controls the maximum number of ports that the program uses when requesting any available user ports from the system. Typically, a temporary (short) port is allocated between the value of 1024 and the included 5000. Note that other TCPTimedWaitDelay registry parameters determine how long a closed port, such as a port that can be reused, can be reused. 2. Value: TcpNumConnections Type: REG_DWORD Range: Set as required Description: This parameter is the value that determines the maximum connection of the client. Third, a successful registry example (100,000 connection settings) "NameServer"="""ForwardBroadcasts"=dword:00000000"IPEnableRouter"=dword:00000001"Domain"="""Hostname"= "Deep-20100325NL""SearchList"="""UseDomainNameDevolution"=dword:00000001"EnableICMPRedirect"=dword:00000001"DeadGWDetectDefault"=dword:00000001"DontAddDefaultGatewayDefault"=dword:00000000"EnableSecurityFilters"=dword: 00000001"TCPWindowSize"=dword:0005ae4c"GlobalMaxTcpWindowSize"=dword:0005ae4c"ReservedPorts"=hex(7):31,00,34,00,33,00,33,00,2d,00,31,00,34, 00,33,00,34,00,\\ 00,00,00,00"MaxUserPort"=dword:0000ffff"TcpTimedWaitDelay"=dword:0000001e"KeepAliveTime"=dword:000927c0"TcpNumConnections"=dword:000186a0"TcpMaxHalfOpen"= Dword:000186a0"TcpMaxHalfOpenRetried"=dword:000186a0"SynAttackProtect&q Uot;=dword:00000001

Copyright © Windows knowledge All Rights Reserved