You can configure and tune Adaptive Server options based on load of incoming connections and the Adaptive Server-LDAP server infrastructure. You can configure the following two options based on the number of simultaneous incoming requests:
Use sp_configure to set max native threads, which indicates the number of native threads per engine.
Use sp_ldapadmin to configure max_ldapua_native_threads, which indicates the number of LDAP user authentication native threads per engine.
Configure the following option based on the network and the health of the Adaptive Server/LDAP server infrastructure:
Use sp_ldapadmin to configure set_timeout which indicates the LDAP server bind and search timeouts.
Configure the following option to specify Adaptive Server behavior when incoming connections have consumed max_ldapua_native_threads:
Use sp_ldapadmin to configure set_abandon_ldapua_when_full.
You can use sp_ldapadmin to configure the LDAP server for better performance with these options:
set_max_ldapua_desc – manages the concurrency of the LDAPUA connection requests. If you are using a distinguished name algorithm, setting set_max_ldapua_desc to a larger number expedites the LDAPUA connections Adaptive Server is processing.
set_num_retries – sets the number of attempts. Tune this number according to the number of transient errors between Adaptive Server and the LDAP server. You can nullify the transient errors by configuring the number of retries.
set_log_interval – controls the number of messages sent to the Adaptive Server errorlog for diagnostic purposes. Using a low number clutters the errorlog but is helpful for pinpointing specific errors. Using a large number sends fewer messages to the errorlog, but does not have the same investigative value. Tune set_log_interval according to your errorlog size.