SLAPD_OCHSELECT_USECS environment variable

Set the SLAPD_OCHSELECT_USECS environment variable to call OCH select() with a timeout value. The timeout value is of microsecond granularity.

If the SLAPD_OCHSELECT_USECS variable is not present or set to 0, the OCH select() call continues with an indefinite timeout value. If SLAPD_OCHSELECT_USECS is set to a positive integer value, the OCH select() call continues with the set timeout value.

You can set the SLAPD_OCHSELECT_USECS environment variable or add the ibm-slapdSetenv attribute with the variable as value. You must add the attribute under the cn=Front End, cn=Configuration entry in the ibmslapd.conf file. For example, to set the value of SLAPD_OCHSELECT_USECS to 1000 microseconds, run the ldapmodify command. For example:

idsldapmodify -p port -D adminDN -w adminPW
dn: cn=Front End, cn=Configuration
changetype: modify
add: ibm-slapdSetEnv
ibm-slapdSetenv: SLAPD_OCHSELECT_USECS=1000

You must restart the directory server to effect the changes made. When you restart the server, SLAPD_OCHSELECT_USECS is set with a value of 1000 microseconds (or 1 millisecond).