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

slapd using lots of memory



I did find a few posts on people experiencing memory issues.

Basically slapd is taking up about 600mb of memory on my system.

Below are a few parts of my configuration.. is there anything
particularly wrong with the setup?

redhat 7.3

openldap-clients-2.0.27-2.7.3
openldap-2.0.27-2.7.3
openldap-devel-2.0.27-2.7.3
openldap-servers-2.0.27-2.7.3

ls -lrth /var/lib/ldap/
total 418M
drwxr-xr-x    2 root     root         4.0k Oct 20 10:33 old
-rw-------    1 root     root          96k Dec 17 01:05 uid.gdbm
-rw-------    1 root     root          96k Dec 17 01:05 ou.gdbm
-rw-------    1 root     root         456k Dec 17 01:05 objectClass.gdbm
-rw-------    1 root     root         9.8M Feb  2 12:39 mail.gdbm
-rw-------    1 root     root          17M Feb  2 12:56 sn.gdbm
-rw-------    1 root     root          12k Feb  2 12:56 nextid.gdbm
-rw-------    1 root     root          11M Feb  2 12:56 mobile.gdbm
-rw-------    1 root     root         164M Feb  2 12:56 id2entry.gdbm
-rw-------    1 root     root          14M Feb  2 12:56 givenName.gdbm
-rw-------    1 root     root         185M Feb  2 12:56 dn2id.gdbm
-rw-------    1 root     root          26M Feb  2 12:56 cn.gdbm

And a couple of lines from slapd.conf that have always just been there!

database        ldbm
cachesize 1000000
dbcachesize 10000000

root     13922  0.0 15.3 719764 635264 ?     S     2003   0:00
/usr/sbin/slapd -f /etc/openldap/slapd.conf
root     13923  0.0 15.3 719764 635264 ?     S     2003   0:48
/usr/sbin/slapd -f /etc/openldap/slapd.conf
root     13924  0.0 15.3 719764 635264 ?     S     2003   3:12
/usr/sbin/slapd -f /etc/openldap/slapd.conf
root     14341  0.0 15.3 719764 635264 ?     S     2003   4:09
/usr/sbin/slapd -f /etc/openldap/slapd.conf

There's 35 of these processes in the process list.

Any thoughts appreciated.

ajt.