The information in this article applies to:
IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe. SYMPTOMS
After multiple Terminal Server clients establish a session with a server running Windows NT Server 4.0, Terminal Server Edition, additional clients are unable to connect. When this occurs, in some cases, clients are not able to browse certain servers or domain controllers after a specific number of client sessions have been established. They may not exhibit the same symptoms as above, but this issue may be corrected by the solution below. -or- Clients are able to use the NET VIEW and NET USE commands, or the PING command to contact other servers and domain resources without difficulty. In some cases, after about 20 or 30 minutes, additional clients may be able to log on before new connections are again refused. CPU usage is normally very low, and this can occur regardless of the CPU speed, number of CPUs, or amount of RAM installed on either the Terminal Server computer or domain controllers. If the Terminal Server computer is a member server, no Event Viewer System log entries may be evident. On the domain controllers, the Terminal Server computer's Event Viewer System log may contain one or both of the following entries:
-or- Other RPC error messages that may appear are:
RESOLUTION
To resolve this issue, you need to either edit the existing values or add the following registry entries for both MaxWorkItems and MaxMpxCt to the Terminal Server computers configured as a domain controller. By default, MaxWorkItems and MaxMpxCt do not appear under the parameters key although they are in effect.
NOTE: If Windows 95, Windows 98, and Windows NT clients are present, then the value for MaxMpxCt should be set to the default used for Windows95 and Windows 98, because Windows NT should read the value without problems. MORE INFORMATIONDefault MaxWorkItems ValueThis value specifies the maximum number of receive buffers, or work items, that the Server service is permitted to allocate at one time. If this limit is reached, then the transport must initiate flow control, which can significantly impair performance. In some cases, this problem may also manifest itself by not allowing new connections to be made to the server.There is no set default value for this entry, because it is determined by the computer's hardware configuration and the Server service, and may need to be adjusted. Third-party programs may also require this value to be set at a higher number. Windows NT uses the settings for Server Service Optimization along with the hardware configuration to help determine what the default value for MaxWorkItems are. The Server Optimization choices are found in the Server properties when you click the Services tab in the Control Panel Network tool and Windows NT configures the value in the following manner. For a server with one processor that is configured for Maximum Throughput for File Sharing, it is 16 times the amount of RAM. Additional CPUs each add an equal amount. For example, the calculations for a computer with a single processor and 24 MB and 56 MB of RAM respectively are: 4 * ( 24 * 2 ) * 2 / 1 = 384 4 * ( 56 * 2 ) * 2 / 1 = 896 Default MaxMpxCt valuesThis allows a server to provide a suggested maximum number of simultaneous outstanding client requests to a particular server. During negotiation of the Serb=ver Message Block (SMB) dialect, this value is passed to the client's redirector where the limit on outstanding requests is enforced. A higher value can increase server performance, but requires higher use of server work items (MaxWorkItems). Because each client can consume multiple instances, this can exceed the default maximum of 50.For additional information about MaxMpxCt and slow network performance, please click the article number below to view the article in the Microsoft Knowledge Base: Q191370 Slow Network Performance with Terminal Server Additional query words: Lock Freeze hang logging
Keywords : kbenv kbnetwork |
Last Reviewed: August 26, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |