Btw.: I use a "special version" of openldap.
Because of limited index slot of 65535, I changed
in openldap-2.4.33.orig/include/ldap_pvt_thread.h
from
# define LDAP_PVT_THREAD_STACK_SIZE ( 1 * 1024 * 1024 * sizeof(void *) )
to
# define LDAP_PVT_THREAD_STACK_SIZE ( 2 * 1024 * 1024 * sizeof(void *) )
and in openldap-2.4.33/servers/slapd/back-bdb/idl.h
from
# define BDB_IDL_LOGN 16 /* DB_SIZE is 2^16, UM_SIZE is 2^17 */
to
# define BDB_IDL_LOGN 17 /* DB_SIZE is 2^17, UM_SIZE is 2^18 */
as Howard it recommended
http://www.openldap.org/lists/openldap-technical/201101/msg00095.html
Maybe this could be the problem??
My changes are available under:
https://build.opensuse.org/package/show?expand=0&package=openldap2&projec
t=home%3Ameikestone