[Date Prev][Date Next]
Re: slapd crashes with ch_realloc of X bytes failed
--On Tuesday, January 15, 2013 2:09 PM +0100 Meike Stone
Btw.: I use a "special version" of openldap.
Because of limited index slot of 65535, I changed
# define LDAP_PVT_THREAD_STACK_SIZE ( 1 * 1024 * 1024 * sizeof(void *) )
# define LDAP_PVT_THREAD_STACK_SIZE ( 2 * 1024 * 1024 * sizeof(void *) )
and in openldap-2.4.33/servers/slapd/back-bdb/idl.h
# define BDB_IDL_LOGN 16 /* DB_SIZE is 2^16, UM_SIZE is 2^17 */
# define BDB_IDL_LOGN 17 /* DB_SIZE is 2^17, UM_SIZE is 2^18 */
as Howard it recommended
Maybe this could be the problem??
My changes are available under:
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
Sr. Member of Technical Staff
A Division of VMware, Inc.
Zimbra :: the leader in open source messaging and collaboration