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

Memory



Hello!

When I start slapd, "top" shows:
===============================
  PID USERNAME  THR PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
61814 ldap        3  20    0 10256K  5336K kserel   0:00  0.00% slapd
===============================

After couple of days "top" command on my system shows that slapd uses too many memory:
===============================
PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND
61814 ldap 3 20 0 112M 6420K kserel 0:00 0.00% slapd
===============================


Server has only 128Mb physical memory and very small database (34 entries):
===============================
-rw-------  1 ldap  ldap     20480 15 сен 21:43 dn2id.bdb
-rw-------  1 ldap  ldap     98304 22 сен 17:30 id2entry.bdb
===============================

DB_CONFIG:
===============================
set_cachesize 0 2097152 1
set_lg_bsize 262114
set_flags DB_LOG_AUTOREMOVE
===============================

FreeBSD 6.1-RELEASE-p6
OpenLDAP-2.3.27 compiled with ACI support

I can reproduce this and help slapd to eat 100Mb of memory by holding F5 key (reload) within 2-3 seconds in LDAP Administrator on one of the entries.
Is this normal?



What can I do to solve this problem? Help, please, show me the way.