Microsoft KB Archive/311931

= PRB: Connection Current Cannot Reach High Number of Simultaneous Connections =

Article ID: 311931

Article Last Modified on 6/11/2002

-

APPLIES TO


 * Microsoft Site Server 3.0 Standard Edition

-



This article was previously published under Q311931



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
When you set the maximum number of simultaneous Lightweight Directory Access Protocol (LDAP) connections to a value higher than the default value of 2000 (for example, to 3000), the Connection Current counter for the Site Server LDAP Service object in Performance Monitor shows simultaneous connections only slightly higher than 2000, and cannot reach the specific number that you set.

NOTE: This property is shown as Max connections in the Site Server Microsoft Management Console (MMC) and is stored as MaxConnections in the Internet Information Services (IIS) Metabase.



CAUSE
An implicit limitation setting in the following registry key limits the value of MaxAggregateLdapConnection to 2000:

HKEY_Local_Machine\System\CurrentControlSet\Services\Ldapsvc\Parameters

Path:  HKEY_Local_Machine\System\CurrentControlSet\Services\Ldapsvc\Parameters Name:  MaxAggregateLdapConnection Type:  DWORD Default value (when missing):  Decimal 2000 The LDAP service does not allow the total number LDAP connections to exceed the minor value of LDAP maximum connections in the metabase and the above registry value. Therefore, you meet the limitation of just over 2000 connections even when you set the LDAP maximum connections to 3000.



RESOLUTION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To enable the LDAP server to support more than 2000 simultaneous connections, you must change both the setting of LDAP maximum connections and the registry value that is described in the &quot;Cause&quot; section.

To change the setting of LDAP maximum connections, follow these steps:
 * 1) Click Start, point to Programs, point to Microsoft Site Server, point to Administration, and then click Site Server Service Admin (MMC).
 * 2) Expand Personalization and Membership.
 * 3) Expand the server.
 * 4) Expand the LDAP Membership Service that you use.
 * 5) Right-click LDAP and click Properties.
 * 6) For Max connections, type the maximum number of connections that you want and click OK.

To add the registry value, follow these steps:  Start Registry Editor (Regedt32.exe). Locate the following key in the registry:

HKEY_Local_Machine\System\CurrentControlSet\Services\Ldapsvc\Parameters

  On the Edit menu, click Add Value, and then add the following registry value (in decimals): Value Name: MaxAggregateLdapConnection Data Type: DWORD Value:     3000  Quit Registry Editor. Restart the LDAP service or the LDAP server for this change to take effect.</ol>

<div class="status_section">

STATUS
This behavior is by design.

Additional query words: siteserver LDAP connection

Keywords: kbprb KB311931

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.