Changing Connection Pool Registry Settings

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To improve system performance, you can use registry key entries to set the properties of the Active Directory Lightweight Directory Access Protocol (LDAP) connection pool that is used by RMS to query Active Directory.

On computers running the 32-bit version of Windows Server 2003, the following registry key is the full subkey path for the connection pool registry entries:

HKEY_LOCAL_MACHINE\Software\Microsoft\DRMS\1.0

On computers running the 64-bit version of Windows Server 2003, the following registry key is the full subkey path for the connection pool registry entries:

HKEY_LOCAL_MACHINE\SoftwareWOW6432Node\Microsoft\DRMS\1.0

The following table lists the entries that you can add to override the default Active Directory connection pool settings. The values that are displayed are the default values. For more information about how RMS constructs a query list and uses these settings, see “Optimizing Active Directory Connection Pool Settings” earlier in this subject.

Name Type Default Value Description Notes

GC

String

name-1, ..., name-n

Comma-separated list of global catalogs (using DNS names). This key restricts RMS to using only the specified global catalogs.

If you do not want RMS to create a query list, use this setting to specify the global catalogs to use.

MinGC

DWORD

1

Minimum number of global catalogs that must be available before RMS can start.

MaxGC

DWORD

5

Maximum number of global catalogs that the Topology Discovery algorithm will add to the query list.

ThreshHoldAlive

DWORD

1

Minimum number of connections that should be responsive before DiscoveryServices will begin searching for global catalogs to add to the query list so that RMS can accept requests.

RetryDown

DWORD

5

Number of times to retry a down connection before declaring it unresponsive.

TimeRetryDown

DWORD

300

Number of seconds to wait before retrying a down connection.

You should not need to change this default setting, except in unusual circumstances.

TimeRetrySlow

DWORD

30

Number of seconds to wait before retrying a slow connection.

You should not need to change this default setting, except in unusual circumstances.

WtRoundRobin

DWORD

1

Weight of round robin during load balancing.

The relative importance of round robin in load balancing. A value of 1 is the lowest value.

WtThreadCount

DWORD

100

Weight of thread count per connection during load balancing.

The relative importance of a low thread count.

WtSlow

DWORD

1,000

Weight of slow connection during load balancing.

The relative importance of the connection not being slow.

TimeOutForGC

DWORD

5

Number of seconds to wait before timing out a request to add a global catalog to the query list.

LdapTimeOut

DWORD

5

Number of seconds to wait before timing out on LDAP APIs

TopDownExpansionLDAPTimeOut

DWORD

40

Number of seconds to wait before timing out on top-down LDAP expansion queries.

Warning

Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on the computer.