Preventing connection problems with multiple LDAP sessions
On the Microsoft Windows operating system, the IBM® Security Directory Server supports a default of 64 concurrent connections.
Connection attempts beyond 64 connections from the Verify Identity Governance Server fail and display a
Directory Server not available error message like this
example:
Connection pool exceeded: directory server not available
To limit connection problems, define the value of SLAPD_OCHANDLERS to
increase the available connections.
- Locate the following stanza in the ibmslapd.conf
file:
dn: cn=Front End, cn=Configuration
The default directory of the ibmslapd.conf file depends on the operating system.
- Microsoft Windows systems
C:\idssldap-ldapdb2\etc
- UNIX and Linux® systems
/home/ldapdb2/idsslapd-ldapdb2/etc
- Add the following line to this
stanza:
ibm-slapdsetenv: SLAPD_OCHANDLERS=number-of-threads
One thread supports 64 connections. If there are multiple instances of the Verify Identity Governance Server, increase this value. If there are two instances of the server, each requiring a minimum of 50 simultaneous LDAP connections, specify a value of 2 or larger. For example, add this line to the following stanza:ibm-slapdsetenv: SLAPD_OCHANDLERS=4
- Save the changes.
- Restart the IBM Security Directory Server so that the changes take effect.