Question & Answer
WebSphere Application Server Standalone LDAP repository does not provide management for LDAP connection pooling. While the application provider must manage LDAP connections in the application code itself, there are several JVM level properties that can be set to assist in this connection management.
In some instances, an application making and using its own connections to the LDAP server (for example, IBM Directory Server) might experience slowdowns in performance under heavy load. This is because the connections to LDAP server are not timed out after they are closed.
To resolve this situation, it is necessary to set parameters at the JVM command line level which define the LDAP connection pooling properties:
From the WebSphere Application Server Administrative Console:
- Click on Servers -> Application Servers -> <server_name> -> Process Definition -> Java Virtual Machine ->
In the 'Generic JVM arguments' field, enter each of the above properties separated with a space.
- Click OK, save and synchronize the configuration, and then restart the server.
These parameters are documented in the following Java documentation:
15 June 2018