Limit of 49 Named Pipe Connections from a Single Workstation

Last reviewed: September 5, 1996
Article ID: Q141709
The information in this article applies to:
  • Microsoft Windows NT Workstation versions 3.5 and 3.51
  • Microsoft Windows NT Server versions 3.5 and 3.51

SYMPTOMS

A named pipe server application running on a Windows NT Server creates a large number (for example, 100) of separate, distinct named pipes (for example, \\pipe\pipe001, \\pipe\pipe002, etc.).

A named pipe client application then tries to connect to all of the named pipes created by the server application.

If the named pipe client is running on the same computer as the named pipe server, the client can successfully simultaneously connect to all the named pipes created by the server application. However, if the named pipe client is running on a Windows NT Workstation, the client can connect to only 49 of the server's named pipes across the network.

CAUSE

This limit on the number of network connections to named pipes from a single client is imposed by the MaxMpxCt registry value for the LanmanServer service on the Windows NT Server.

MORE INFORMATION

The MaxMpxCt Registry value is described as follows in the Windows NT Resource Kit Registry Help file:

Registry path:

HKEY_LOCAL_MACHINE\SYSTEM

   \CurrentControlSet
      \Services
         \LanmanServer
            \Parameters

MaxMpxCt     REG_DWORD

Range: 1 to 100 requests Default: 50

Provides a suggested maximum to clients for the number of simultaneous requests outstanding to this server. A higher value can increase server performance but requires higher use of server work items.

RESOLUTION

Either increase the server's MaxMpxCt registry value, or redesign the client/server application to use fewer named pipes. Redesigning the client/server application is recommended, because this minimizes server resource usage and results in a much more scaleable solution.


KBCategory: kbnetwork
KBSubcategory: ntconfig ntregistry NTSrvWkst
Additional reference words: 3.50 3.5 3.51


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 5, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.