OpenLDAP seems to default to 16 worker threads.
/* Maximum number of requests in queue. After this new requests are dropped. */
#define DB_LDAP_MAX_QUEUE_SIZE 1024
/* Maximum number of pending requests before delaying new requests. */
-#define DB_LDAP_MAX_PENDING_REQUESTS 128
+#define DB_LDAP_MAX_PENDING_REQUESTS 8
/* If LDAP connection is down, fail requests after waiting for this long. */
#define DB_LDAP_REQUEST_DISCONNECT_TIMEOUT_SECS 4
/* If request is still in queue after this many seconds and other requests