--On Tuesday, January 15, 2013 2:09 PM +0100 Meike Stone
<[email protected]> wrote:
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
Yes, that would significantly increase memory usage. I have only ever done
the *second* modification (BDB_IDL_LOGN) to fix the IDL issues. I've run
that way for years.
Try dropping the modification to LDAP_PVT_THREAD_STACK_SIZE. It has never
been necessary for any of my customers, many of whom have DBs with 6 to 10
million entries.
--Quanah
--
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration