[Date Prev][Date Next] [Chronological] [Thread] [Top]

SLAP - memory leak ? (ITS#250)



Full_Name: Martin Hofbauer
Version: 1.2.6
OS: Solaris 7 / sun4u
URL: 
Submission from: (NULL) (192.164.38.100)


Short description:

slapd has to be restarted every few hours, because it grows very heavy in
memory

2800 entries

compiled with "gcc 2.8.1": under Solaris  7 / Ultrasparc:

CPPFLAGS="-I/usr/local/BerkeleyDB/include" 
export CPPFLAGS
LDFLAGS="-L/usr/local/BerkeleyDB/lib" 
export LDFLAGS

env ac_cv_func_pthread_create=no ol_cv_kthread_flag=no \
           ol_cv_pthread_flag=no ol_cv_pthreads_flag=no \
           ol_cv_thread_flag=no\
 ./configure --prefix=/usr/local/openldap --enable-shared 


here is my slapd.conf:

-----
include         /usr/local/openldap/etc/openldap/slapd.at.conf
include         /usr/local/openldap/etc/openldap/slapd.oc.conf
schemacheck     off

pidfile         /usr/local/openldap/var/slapd.pid
argsfile        /usr/local/openldap/var/slapd.args

#######################################################################
#######################################################################

database        ldbm
suffix          ""
directory       /var/ldap/db
rootdn          "cn=admin"
rootpw          {crypt}7UZoyL6l7oZUc

index           uid             pres,eq
index           objectclass     pres,eq
index           mailalternateaddress pres,eq
index           uidNumber      pres,eq
index           default none

sizelimit         10000
lastmod              on
cachesize         10000
dbcachesize     5000000
-------------------------

What can I do to determine, why it grows ?