Hello,
since a short time, my slapd crashes often. I have two servers running in MM replication. I use openldap version 2.4.30 (for updates are only dedicated timeslots...) The loglevel is set to 256
I see some strange messages in my log before the slapd crashes:
"ch_realloc of 986032 bytes failed" --- "ch_malloc of 294896 bytes failed" --- "bdb(ou=root): txn_checkpoint: failed to flush the buffer cache: Cannot allocate memory" --- "ch_malloc of 34159 bytes failed"
What does they mean, how can I solve this problem
The System has 16GByte RAM, no other service is running there. The Database size is about 1500000 entires and the size of the ldif is about 2Gbyte
Because of the memory messages, I reduced the cachesize 1000000 dncachesize 1000000 idlcachesize 3000000
to cachesize 750000 dncachesize 750000 idlcachesize 2250000
but the problem exist still again.
I can't believe, that the memory is insufficient. Sysstat is running, and I see enough cache memory (about 5GByte all time), and the Swap (2GByte) is almost not used (about 2MByte).
vm.swappiness is set to default (60), so the Swap should used more before the memory is running out. OOM Kill is enabled via SYSRQ (signalling of processes), so slapd should terminated by the kernel ...
My configuration: == DB_CONFIG ================================== set_cachesize 2 0 1 set_lg_regionmax 262144 set_lg_bsize 2097152 set_flags DB_LOG_AUTOREMOVE
== slapd.conf ================================== include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/yast.schema include /etc/openldap/schema/rfc2307bis.schema
pidfile /var/run/slapd/slapd.pid argsfile /var/run/slapd/slapd.args
modulepath /usr/lib/ldap moduleload back_bdb moduleload syncprov moduleload back_monitor sizelimit -1 timelimit 300 disallow bind_anon require authc gentlehup on tool-threads 8 serverID <001|002>
database bdb suffix "ou=demo" rootdn "cn=admin"
directory /var/lib/ldap loglevel 256
cachesize 750000 dncachesize 750000 idlcachesize 2250000 cachefree 500
dirtyread dbnosync shm_key 7 checkpoint 4096 15
index objectClass,entryUUID,entryCSN eq index cn eq,sub index ... own indexes
syncrepl rid=<001|002> provider=ldap://master-<01|02> type=refreshAndPersist keepalive=360:10:5 retry="5 5 300 +" searchbase="ou=demo" attrs="*,+" overlay syncprov mirrormode TRUE syncprov-checkpoint 100 5
database monitor
==========================================
(I know, dirtyread and dbnosync are not recommended..)
Additional I see messages like: "bdb_idl_delete_key: c_del id failed: DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock (-30995)" Should I care about it?
Thanks Meike
Am Fri, 23 Nov 2012 18:05:14 +0100 schrieb Meike Stone meike.stone@googlemail.com:
Hello,
since a short time, my slapd crashes often. I have two servers running in MM replication. I use openldap version 2.4.30 (for updates are only dedicated timeslots...) The loglevel is set to 256
I see some strange messages in my log before the slapd crashes:
"ch_realloc of 986032 bytes failed"
"ch_malloc of 294896 bytes failed"
"bdb(ou=root): txn_checkpoint: failed to flush the buffer cache: Cannot allocate memory"
"ch_malloc of 34159 bytes failed"
What does they mean, how can I solve this problem
The System has 16GByte RAM, no other service is running there. The Database size is about 1500000 entires and the size of the ldif is about 2Gbyte
Because of the memory messages, I reduced the cachesize 1000000 dncachesize 1000000 idlcachesize 3000000
to cachesize 750000 dncachesize 750000 idlcachesize 2250000
but the problem exist still again.
I can't believe, that the memory is insufficient. Sysstat is running, and I see enough cache memory (about 5GByte all time), and the Swap (2GByte) is almost not used (about 2MByte).
[...]
My configuration: == DB_CONFIG ================================== set_cachesize 2 0 1 set_lg_regionmax 262144 set_lg_bsize 2097152 set_flags DB_LOG_AUTOREMOVE
you have a cache of 2GB and about 1.5M entries, you should definitly increase the cachesize, take the size of id2entry, add the size of all index files and allow additional 20 % for growth.
Additional I see messages like: "bdb_idl_delete_key: c_del id failed: DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock (-30995)" Should I care about it?
probably due to heavy write operations and insufficient cache.
-Dieter
Hello Dieter,
My configuration: == DB_CONFIG ================================== set_cachesize 2 0 1 set_lg_regionmax 262144 set_lg_bsize 2097152 set_flags DB_LOG_AUTOREMOVE
you have a cache of 2GB and about 1.5M entries, you should definitly increase the cachesize, take the size of id2entry, add the size of all index files and allow additional 20 % for growth.
Ok, would be possible to check this ... So are 16GByte RAM enough for such a database?
Additional I see messages like: "bdb_idl_delete_key: c_del id failed: DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock (-30995)" Should I care about it?
probably due to heavy write operations and insufficient cache.
What kind of cache (kernel, bdb, idl, dn, ...) does you mean? (Same Question again: So are 16GByte RAM enough for such a database? )
Thanks
Meike
I'm afraid to increase the cachesize in DB_CONFIG:
At the moment slapd uses 13146656K referenced Memory - that is a lot ...
Memoy usage: ~# free -m total used free shared buffers cached Mem: 15946 15857 88 0 7 4777 -/+ buffers/cache: 11072 4873 Swap: 2055 11 2043
~# pmap 13631 13631: slapd START SIZE RSS PSS DIRTY SWAP PERM OFFSET DEVICE MAPPING 00007fd168000000 40712K 40712K 40712K 40712K 0K rw-p 0000000000000000 00:00 [anon] 00007fd16a7c2000 24824K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd170000000 65532K 65532K 65532K 65532K 0K rw-p 0000000000000000 00:00 [anon] 00007fd173fff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd174000000 65532K 65532K 65532K 65532K 0K rw-p 0000000000000000 00:00 [anon] 00007fd177fff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd178000000 131072K 131072K 131072K 131072K 0K rw-p 0000000000000000 00:00 [anon] 00007fd180000000 131072K 131072K 131072K 131072K 0K rw-p 0000000000000000 00:00 [anon] 00007fd188000000 131072K 131072K 131072K 131072K 0K rw-p 0000000000000000 00:00 [anon] 00007fd190000000 131072K 131072K 131072K 131072K 0K rw-p 0000000000000000 00:00 [anon] 00007fd198000000 131068K 131068K 131068K 131068K 0K rw-p 0000000000000000 00:00 [anon] 00007fd19ffff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd1a0000000 19444K 13424K 13424K 13424K 0K rw-p 0000000000000000 00:00 [anon] 00007fd1a12fd000 46092K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd1a4000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd1a8000000 65532K 65532K 65532K 65532K 0K rw-p 0000000000000000 00:00 [anon] 00007fd1abfff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd1ac000000 65532K 65532K 65532K 65532K 0K rw-p 0000000000000000 00:00 [anon] 00007fd1affff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd1b0000000 65536K 27444K 27444K 27444K 0K rw-p 0000000000000000 00:00 [anon] 00007fd1b8000000 131072K 131072K 131072K 131072K 0K rw-p 0000000000000000 00:00 [anon] 00007fd1c0000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd1c8000000 88512K 77512K 77512K 77512K 0K rw-p 0000000000000000 00:00 [anon] 00007fd1cd670000 42560K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd1d0000000 65532K 65532K 65532K 65532K 0K rw-p 0000000000000000 00:00 [anon] 00007fd1d3fff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd1d4000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd1d8000000 129592K 129592K 129592K 129592K 0K rw-p 0000000000000000 00:00 [anon] 00007fd1dfe8e000 1480K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd1e0000000 131072K 131072K 131072K 131072K 0K rw-p 0000000000000000 00:00 [anon] 00007fd1e8000000 131012K 131012K 131012K 130992K 0K rw-p 0000000000000000 00:00 [anon] 00007fd1efff1000 60K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd1f0000000 131072K 131072K 131072K 131068K 0K rw-p 0000000000000000 00:00 [anon] 00007fd1f8000000 110192K 104172K 104172K 104172K 0K rw-p 0000000000000000 00:00 [anon] 00007fd1feb9c000 20880K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd200000000 65524K 65524K 65524K 65524K 0K rw-p 0000000000000000 00:00 [anon] 00007fd203ffd000 12K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd204000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd208000000 131056K 131024K 131024K 131008K 32K rw-p 0000000000000000 00:00 [anon] 00007fd20fffc000 16K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd210000000 65532K 65532K 65532K 65532K 0K rw-p 0000000000000000 00:00 [anon] 00007fd213fff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd214000000 65508K 65508K 65508K 65508K 0K rw-p 0000000000000000 00:00 [anon] 00007fd217ff9000 28K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd218000000 131072K 131072K 131072K 131072K 0K rw-p 0000000000000000 00:00 [anon] 00007fd220000000 65532K 65532K 65532K 65532K 0K rw-p 0000000000000000 00:00 [anon] 00007fd223fff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd224000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd228000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd22c000000 65532K 57096K 57096K 57096K 0K rw-p 0000000000000000 00:00 [anon] 00007fd22ffff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd230000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd234000000 65532K 65532K 65532K 65532K 0K rw-p 0000000000000000 00:00 [anon] 00007fd237fff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd238000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd23c000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd240000000 65532K 65532K 65532K 65532K 0K rw-p 0000000000000000 00:00 [anon] 00007fd243fff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd244000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd248000000 131072K 131072K 131072K 131072K 0K rw-p 0000000000000000 00:00 [anon] 00007fd250000000 131072K 131072K 131072K 131072K 0K rw-p 0000000000000000 00:00 [anon] 00007fd258000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd25c000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd260000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd264000000 65536K 65520K 65520K 65512K 16K rw-p 0000000000000000 00:00 [anon] 00007fd268000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd26c000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd270000000 65528K 65528K 65528K 65528K 0K rw-p 0000000000000000 00:00 [anon] 00007fd273ffe000 8K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd274000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd278000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd27c000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd284000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd288000000 129456K 99356K 99356K 99352K 48K rw-p 0000000000000000 00:00 [anon] 00007fd28fe6c000 1616K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd290000000 131072K 130936K 130936K 130932K 136K rw-p 0000000000000000 00:00 [anon] 00007fd298000000 65532K 65532K 65532K 65532K 0K rw-p 0000000000000000 00:00 [anon] 00007fd29bfff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd29c000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd2a0000000 131072K 131072K 131072K 131072K 0K rw-p 0000000000000000 00:00 [anon] 00007fd2a8000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd2ac000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd2b0000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd2b8000000 131072K 130996K 130996K 130992K 76K rw-p 0000000000000000 00:00 [anon] 00007fd2c0000000 65532K 65532K 65532K 65532K 0K rw-p 0000000000000000 00:00 [anon] 00007fd2c3fff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd2c4000000 65532K 65532K 65532K 65528K 0K rw-p 0000000000000000 00:00 [anon] 00007fd2c7fff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd2c8000000 65536K 65536K 65536K 65528K 0K rw-p 0000000000000000 00:00 [anon] 00007fd2cc000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd2d0000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd2d4000000 65520K 65520K 65520K 65520K 0K rw-p 0000000000000000 00:00 [anon] 00007fd2d7ffc000 16K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd2d8000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd2ddfff000 32772K 3344K 3344K 3344K 0K rw-p 0000000000000000 00:00 [anon] 00007fd2e0000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd2e4ffb000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd2e4ffc000 81928K 8732K 8732K 8732K 0K rw-p 0000000000000000 00:00 [anon] 00007fd2e9ffe000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd2e9fff000 16384K 2036K 2036K 2036K 0K rw-p 0000000000000000 00:00 [anon] 00007fd2eafff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd2eb000000 16384K 2044K 2044K 2044K 0K rw-p 0000000000000000 00:00 [anon] 00007fd2ec000000 65504K 65416K 65416K 65416K 0K rw-p 0000000000000000 00:00 [anon] 00007fd2efff8000 32K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd2f0ffe000 32772K 3344K 3344K 3344K 0K rw-p 0000000000000000 00:00 [anon] 00007fd2f2fff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd2f3000000 16384K 2044K 2044K 2044K 0K rw-p 0000000000000000 00:00 [anon] 00007fd2f4000000 65536K 65524K 65524K 65524K 12K rw-p 0000000000000000 00:00 [anon] 00007fd2f8000000 65508K 65508K 65508K 65508K 0K rw-p 0000000000000000 00:00 [anon] 00007fd2fbff9000 28K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd2fc000000 65532K 65532K 65532K 65532K 0K rw-p 0000000000000000 00:00 [anon] 00007fd2fffff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd300000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd304000000 65524K 65524K 65524K 65524K 0K rw-p 0000000000000000 00:00 [anon] 00007fd307ffd000 12K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd308000000 65524K 65524K 65524K 65524K 0K rw-p 0000000000000000 00:00 [anon] 00007fd30bffd000 12K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd30c000000 131060K 130976K 130976K 130976K 84K rw-p 0000000000000000 00:00 [anon] 00007fd313ffd000 12K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd314000000 65532K 65532K 65532K 65532K 0K rw-p 0000000000000000 00:00 [anon] 00007fd317fff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd318000000 65520K 65520K 65520K 65520K 0K rw-p 0000000000000000 00:00 [anon] 00007fd31bffc000 16K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd31c000000 65508K 65504K 65504K 65500K 4K rw-p 0000000000000000 00:00 [anon] 00007fd31fff9000 28K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd320000000 65532K 65532K 65532K 65532K 0K rw-p 0000000000000000 00:00 [anon] 00007fd323fff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd324000000 65524K 65504K 65504K 65504K 20K rw-p 0000000000000000 00:00 [anon] 00007fd327ffd000 12K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd328000000 65536K 65484K 65484K 65484K 52K rw-p 0000000000000000 00:00 [anon] 00007fd32c000000 131068K 131060K 131060K 131060K 8K rw-p 0000000000000000 00:00 [anon] 00007fd333fff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd334000000 131072K 131072K 131072K 131072K 0K rw-p 0000000000000000 00:00 [anon] 00007fd33c000000 131072K 131048K 131048K 131048K 24K rw-p 0000000000000000 00:00 [anon] 00007fd344000000 131072K 131072K 131072K 131072K 0K rw-p 0000000000000000 00:00 [anon] 00007fd34c000000 131072K 131032K 131032K 131032K 40K rw-p 0000000000000000 00:00 [anon] 00007fd354000000 131072K 131052K 131052K 131052K 20K rw-p 0000000000000000 00:00 [anon] 00007fd35c000000 65532K 65532K 65532K 65532K 0K rw-p 0000000000000000 00:00 [anon] 00007fd35ffff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd360000000 65508K 65504K 65504K 65504K 4K rw-p 0000000000000000 00:00 [anon] 00007fd363ff9000 28K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd364000000 65532K 65532K 65532K 65532K 0K rw-p 0000000000000000 00:00 [anon] 00007fd367fff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd368000000 65532K 65476K 65476K 65472K 56K rw-p 0000000000000000 00:00 [anon] 00007fd36bfff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd36c000000 65532K 65532K 65532K 65532K 0K rw-p 0000000000000000 00:00 [anon] 00007fd36ffff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd370000000 65532K 65512K 65512K 65512K 20K rw-p 0000000000000000 00:00 [anon] 00007fd373fff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd374000000 131072K 131064K 131064K 131064K 8K rw-p 0000000000000000 00:00 [anon] 00007fd37c000000 131072K 131064K 131064K 131064K 8K rw-p 0000000000000000 00:00 [anon] 00007fd384000000 65536K 65536K 65536K 65536K 0K rw-p 0000000000000000 00:00 [anon] 00007fd388ff1000 98316K 12480K 12480K 12480K 0K rw-p 0000000000000000 00:00 [anon] 00007fd38eff4000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd38eff5000 16384K 2044K 2044K 2044K 0K rw-p 0000000000000000 00:00 [anon] 00007fd38fff5000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd38fff6000 81928K 11176K 11176K 11176K 4K rw-p 0000000000000000 00:00 [anon] 00007fd394ff8000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd394ff9000 81928K 11180K 11180K 11180K 0K rw-p 0000000000000000 00:00 [anon] 00007fd399ffb000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd399ffc000 49156K 5380K 5380K 5380K 0K rw-p 0000000000000000 00:00 [anon] 00007fd39cffd000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd39cffe000 16384K 2044K 2044K 2044K 0K rw-p 0000000000000000 00:00 [anon] 00007fd39dffe000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd39dfff000 16384K 2036K 2036K 2036K 0K rw-p 0000000000000000 00:00 [anon] 00007fd39efff000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd39f000000 16384K 2044K 2044K 2044K 0K rw-p 0000000000000000 00:00 [anon] 00007fd3a0000000 65536K 65516K 65516K 65516K 20K rw-p 0000000000000000 00:00 [anon] 00007fd3a4ffc000 32772K 3344K 3344K 3344K 0K rw-p 0000000000000000 00:00 [anon] 00007fd3a6ffd000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd3a6ffe000 81928K 8732K 8732K 8732K 0K rw-p 0000000000000000 00:00 [anon] 00007fd3ac000000 65536K 65528K 65528K 65528K 8K rw-p 0000000000000000 00:00 [anon] 00007fd3b05c2000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd3b05c3000 49156K 5380K 5380K 5380K 0K rw-p 0000000000000000 00:00 [anon] 00007fd3b35c4000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd3b35c5000 16384K 2044K 2044K 2044K 0K rw-p 0000000000000000 00:00 [anon] 00007fd3b45c5000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd3b45c6000 16384K 2044K 2044K 2044K 0K rw-p 0000000000000000 00:00 [anon] 00007fd3b55c6000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd3b55c7000 49156K 2044K 2044K 2044K 0K rw-p 0000000000000000 00:00 [anon] 00007fd3b85c8000 4K 0K 0K 0K 0K ---p 0000000000000000 00:00 [anon] 00007fd3b85c9000 660920K 644548K 644548K 644548K 0K rw-p 0000000000000000 00:00 [anon] 00007fd3e0b37000 24K 16K 16K 16K 0K rw-s 0000000000000000 00:04 /SYSV0000000c 00007fd3e0b3d000 544K 376K 376K 376K 0K rw-s 0000000000000000 00:04 /SYSV0000000b 00007fd3e0bc5000 2304K 2060K 2060K 2060K 0K rw-s 0000000000000000 00:04 /SYSV0000000a 00007fd3e0e05000 2097152K 2097152K 2097152K 2097152K 0K rw-s 0000000000000000 00:04 /SYSV00000009 00007fd460e05000 78008K 65692K 65692K 65692K 0K rw-s 0000000000000000 00:04 /SYSV00000008 00007fd465a33000 16K 4K 4K 0K 0K r-xp 0000000000000000 08:02 /usr/lib64/sasl2/libanonymous.so.2.0.22 00007fd465a37000 2044K 0K 0K 0K 0K ---p 0000000000004000 08:02 /usr/lib64/sasl2/libanonymous.so.2.0.22 00007fd465c36000 4K 4K 4K 4K 0K r--p 0000000000003000 08:02 /usr/lib64/sasl2/libanonymous.so.2.0.22 00007fd465c37000 4K 4K 4K 4K 0K rw-p 0000000000004000 08:02 /usr/lib64/sasl2/libanonymous.so.2.0.22 00007fd465c38000 20K 0K 0K 0K 0K r-xp 0000000000000000 08:02 /usr/lib64/sasl2/libsasldb.so.2.0.22 00007fd465c3d000 2044K 0K 0K 0K 0K ---p 0000000000005000 08:02 /usr/lib64/sasl2/libsasldb.so.2.0.22 00007fd465e3c000 4K 4K 4K 4K 0K r--p 0000000000004000 08:02 /usr/lib64/sasl2/libsasldb.so.2.0.22 00007fd465e3d000 4K 4K 4K 4K 0K rw-p 0000000000005000 08:02 /usr/lib64/sasl2/libsasldb.so.2.0.22 00007fd465e3e000 48K 4K 4K 0K 0K r-xp 0000000000000000 08:02 /usr/lib64/sasl2/libdigestmd5.so.2.0.22 00007fd465e4a000 2044K 0K 0K 0K 0K ---p 000000000000c000 08:02 /usr/lib64/sasl2/libdigestmd5.so.2.0.22 00007fd466049000 4K 4K 4K 4K 0K r--p 000000000000b000 08:02 /usr/lib64/sasl2/libdigestmd5.so.2.0.22 00007fd46604a000 4K 4K 4K 4K 0K rw-p 000000000000c000 08:02 /usr/lib64/sasl2/libdigestmd5.so.2.0.22 00007fd46604b000 16K 4K 4K 0K 0K r-xp 0000000000000000 08:02 /usr/lib64/sasl2/libplain.so.2.0.22 00007fd46604f000 2044K 0K 0K 0K 0K ---p 0000000000004000 08:02 /usr/lib64/sasl2/libplain.so.2.0.22 00007fd46624e000 4K 4K 4K 4K 0K r--p 0000000000003000 08:02 /usr/lib64/sasl2/libplain.so.2.0.22 00007fd46624f000 4K 4K 4K 4K 0K rw-p 0000000000004000 08:02 /usr/lib64/sasl2/libplain.so.2.0.22 00007fd466250000 8K 0K 0K 0K 0K r-xp 0000000000000000 08:02 /lib64/libkeyutils-1.2.so 00007fd466252000 2044K 0K 0K 0K 0K ---p 0000000000002000 08:02 /lib64/libkeyutils-1.2.so 00007fd466451000 4K 4K 4K 4K 0K r--p 0000000000001000 08:02 /lib64/libkeyutils-1.2.so 00007fd466452000 4K 4K 4K 4K 0K rw-p 0000000000002000 08:02 /lib64/libkeyutils-1.2.so 00007fd466453000 28K 0K 0K 0K 0K r-xp 0000000000000000 08:02 /usr/lib64/libkrb5support.so.0.1 00007fd46645a000 2048K 0K 0K 0K 0K ---p 0000000000007000 08:02 /usr/lib64/libkrb5support.so.0.1 00007fd46665a000 4K 4K 4K 4K 0K r--p 0000000000007000 08:02 /usr/lib64/libkrb5support.so.0.1 00007fd46665b000 4K 4K 4K 4K 0K rw-p 0000000000008000 08:02 /usr/lib64/libkrb5support.so.0.1 00007fd46665c000 12K 0K 0K 0K 0K r-xp 0000000000000000 08:02 /lib64/libcom_err.so.2.1 00007fd46665f000 2044K 0K 0K 0K 0K ---p 0000000000003000 08:02 /lib64/libcom_err.so.2.1 00007fd46685e000 4K 4K 4K 4K 0K r--p 0000000000002000 08:02 /lib64/libcom_err.so.2.1 00007fd46685f000 4K 4K 4K 4K 0K rw-p 0000000000003000 08:02 /lib64/libcom_err.so.2.1 00007fd466860000 144K 0K 0K 0K 0K r-xp 0000000000000000 08:02 /usr/lib64/libk5crypto.so.3.1 00007fd466884000 2044K 0K 0K 0K 0K ---p 0000000000024000 08:02 /usr/lib64/libk5crypto.so.3.1 00007fd466a83000 8K 8K 8K 8K 0K r--p 0000000000023000 08:02 /usr/lib64/libk5crypto.so.3.1 00007fd466a85000 4K 4K 4K 4K 0K rw-p 0000000000025000 08:02 /usr/lib64/libk5crypto.so.3.1 00007fd466a86000 632K 0K 0K 0K 0K r-xp 0000000000000000 08:02 /usr/lib64/libkrb5.so.3.3 00007fd466b24000 2044K 0K 0K 0K 0K ---p 000000000009e000 08:02 /usr/lib64/libkrb5.so.3.3 00007fd466d23000 12K 12K 12K 12K 0K r--p 000000000009d000 08:02 /usr/lib64/libkrb5.so.3.3 00007fd466d26000 8K 8K 8K 8K 0K rw-p 00000000000a0000 08:02 /usr/lib64/libkrb5.so.3.3 00007fd466d28000 172K 0K 0K 0K 0K r-xp 0000000000000000 08:02 /usr/lib64/libgssapi_krb5.so.2.2 00007fd466d53000 2048K 0K 0K 0K 0K ---p 000000000002b000 08:02 /usr/lib64/libgssapi_krb5.so.2.2 00007fd466f53000 4K 4K 4K 4K 0K r--p 000000000002b000 08:02 /usr/lib64/libgssapi_krb5.so.2.2 00007fd466f54000 4K 4K 4K 4K 0K rw-p 000000000002c000 08:02 /usr/lib64/libgssapi_krb5.so.2.2 00007fd466f55000 28K 4K 4K 0K 0K r-xp 0000000000000000 08:02 /usr/lib64/sasl2/libgssapiv2.so.2.0.22 00007fd466f5c000 2044K 0K 0K 0K 0K ---p 0000000000007000 08:02 /usr/lib64/sasl2/libgssapiv2.so.2.0.22 00007fd46715b000 4K 4K 4K 4K 0K r--p 0000000000006000 08:02 /usr/lib64/sasl2/libgssapiv2.so.2.0.22 00007fd46715c000 4K 4K 4K 4K 0K rw-p 0000000000007000 08:02 /usr/lib64/sasl2/libgssapiv2.so.2.0.22 00007fd46715d000 16K 4K 4K 0K 0K r-xp 0000000000000000 08:02 /usr/lib64/sasl2/liblogin.so.2.0.22 00007fd467161000 2044K 0K 0K 0K 0K ---p 0000000000004000 08:02 /usr/lib64/sasl2/liblogin.so.2.0.22 00007fd467360000 4K 4K 4K 4K 0K r--p 0000000000003000 08:02 /usr/lib64/sasl2/liblogin.so.2.0.22 00007fd467361000 4K 4K 4K 4K 0K rw-p 0000000000004000 08:02 /usr/lib64/sasl2/liblogin.so.2.0.22 00007fd467362000 84K 0K 0K 0K 0K r-xp 0000000000000000 08:02 /lib64/libz.so.1.2.3 00007fd467377000 2044K 0K 0K 0K 0K ---p 0000000000015000 08:02 /lib64/libz.so.1.2.3 00007fd467576000 4K 4K 4K 4K 0K r--p 0000000000014000 08:02 /lib64/libz.so.1.2.3 00007fd467577000 4K 4K 4K 4K 0K rw-p 0000000000015000 08:02 /lib64/libz.so.1.2.3 00007fd467578000 1364K 472K 20K 0K 0K r-xp 0000000000000000 08:02 /lib64/libc-2.11.1.so 00007fd4676cd000 2044K 0K 0K 0K 0K ---p 0000000000155000 08:02 /lib64/libc-2.11.1.so 00007fd4678cc000 16K 16K 16K 16K 0K r--p 0000000000154000 08:02 /lib64/libc-2.11.1.so 00007fd4678d0000 4K 4K 4K 4K 0K rw-p 0000000000158000 08:02 /lib64/libc-2.11.1.so 00007fd4678d1000 20K 20K 20K 20K 0K rw-p 0000000000000000 00:00 [anon] 00007fd4678d6000 36K 24K 8K 0K 0K r-xp 0000000000000000 08:02 /lib64/libwrap.so.0.7.6 00007fd4678df000 2044K 0K 0K 0K 0K ---p 0000000000009000 08:02 /lib64/libwrap.so.0.7.6 00007fd467ade000 4K 4K 4K 4K 0K r--p 0000000000008000 08:02 /lib64/libwrap.so.0.7.6 00007fd467adf000 4K 4K 4K 4K 0K rw-p 0000000000009000 08:02 /lib64/libwrap.so.0.7.6 00007fd467ae0000 4K 4K 4K 4K 0K rw-p 0000000000000000 00:00 [anon] 00007fd467ae1000 76K 4K 0K 0K 0K r-xp 0000000000000000 08:02 /lib64/libresolv-2.11.1.so 00007fd467af4000 2048K 0K 0K 0K 0K ---p 0000000000013000 08:02 /lib64/libresolv-2.11.1.so 00007fd467cf4000 4K 4K 4K 4K 0K r--p 0000000000013000 08:02 /lib64/libresolv-2.11.1.so 00007fd467cf5000 4K 4K 4K 4K 0K rw-p 0000000000014000 08:02 /lib64/libresolv-2.11.1.so 00007fd467cf6000 8K 0K 0K 0K 0K rw-p 0000000000000000 00:00 [anon] 00007fd467cf8000 48K 0K 0K 0K 0K r-xp 0000000000000000 08:02 /lib64/libcrypt-2.11.1.so 00007fd467d04000 2044K 0K 0K 0K 0K ---p 000000000000c000 08:02 /lib64/libcrypt-2.11.1.so 00007fd467f03000 4K 4K 4K 4K 0K r--p 000000000000b000 08:02 /lib64/libcrypt-2.11.1.so 00007fd467f04000 4K 4K 4K 4K 0K rw-p 000000000000c000 08:02 /lib64/libcrypt-2.11.1.so 00007fd467f05000 184K 0K 0K 0K 0K rw-p 0000000000000000 00:00 [anon] 00007fd467f33000 1484K 16K 2K 0K 0K r-xp 0000000000000000 08:02 /usr/lib64/libcrypto.so.0.9.8 00007fd4680a6000 2044K 0K 0K 0K 0K ---p 0000000000173000 08:02 /usr/lib64/libcrypto.so.0.9.8 00007fd4682a5000 64K 64K 64K 64K 0K r--p 0000000000172000 08:02 /usr/lib64/libcrypto.so.0.9.8 00007fd4682b5000 100K 100K 100K 100K 0K rw-p 0000000000182000 08:02 /usr/lib64/libcrypto.so.0.9.8 00007fd4682ce000 16K 12K 12K 12K 0K rw-p 0000000000000000 00:00 [anon] 00007fd4682d2000 308K 4K 0K 0K 0K r-xp 0000000000000000 08:02 /usr/lib64/libssl.so.0.9.8 00007fd46831f000 2044K 0K 0K 0K 0K ---p 000000000004d000 08:02 /usr/lib64/libssl.so.0.9.8 00007fd46851e000 8K 8K 8K 8K 0K r--p 000000000004c000 08:02 /usr/lib64/libssl.so.0.9.8 00007fd468520000 24K 24K 24K 24K 0K rw-p 000000000004e000 08:02 /usr/lib64/libssl.so.0.9.8 00007fd468526000 8K 4K 0K 0K 0K r-xp 0000000000000000 08:02 /lib64/libdl-2.11.1.so 00007fd468528000 2048K 0K 0K 0K 0K ---p 0000000000002000 08:02 /lib64/libdl-2.11.1.so 00007fd468728000 4K 4K 4K 4K 0K r--p 0000000000002000 08:02 /lib64/libdl-2.11.1.so 00007fd468729000 4K 4K 4K 4K 0K rw-p 0000000000003000 08:02 /lib64/libdl-2.11.1.so 00007fd46872a000 100K 64K 44K 0K 0K r-xp 0000000000000000 08:02 /usr/lib64/libsasl2.so.2.0.22 00007fd468743000 2048K 0K 0K 0K 0K ---p 0000000000019000 08:02 /usr/lib64/libsasl2.so.2.0.22 00007fd468943000 4K 4K 4K 4K 0K r--p 0000000000019000 08:02 /usr/lib64/libsasl2.so.2.0.22 00007fd468944000 4K 4K 4K 4K 0K rw-p 000000000001a000 08:02 /usr/lib64/libsasl2.so.2.0.22 00007fd468945000 84K 4K 0K 0K 0K r-xp 0000000000000000 08:02 /lib64/libnsl-2.11.1.so 00007fd46895a000 2044K 0K 0K 0K 0K ---p 0000000000015000 08:02 /lib64/libnsl-2.11.1.so 00007fd468b59000 4K 4K 4K 4K 0K r--p 0000000000014000 08:02 /lib64/libnsl-2.11.1.so 00007fd468b5a000 4K 4K 4K 4K 0K rw-p 0000000000015000 08:02 /lib64/libnsl-2.11.1.so 00007fd468b5b000 8K 0K 0K 0K 0K rw-p 0000000000000000 00:00 [anon] 00007fd468b5d000 340K 8K 5K 0K 0K r-xp 0000000000000000 08:02 /lib64/libm-2.11.1.so 00007fd468bb2000 2044K 0K 0K 0K 0K ---p 0000000000055000 08:02 /lib64/libm-2.11.1.so 00007fd468db1000 4K 4K 4K 4K 0K r--p 0000000000054000 08:02 /lib64/libm-2.11.1.so 00007fd468db2000 4K 4K 4K 4K 0K rw-p 0000000000055000 08:02 /lib64/libm-2.11.1.so 00007fd468db3000 96K 0K 0K 0K 0K r-xp 0000000000000000 08:02 /usr/lib64/libslp.so.1.0.0 00007fd468dcb000 2044K 0K 0K 0K 0K ---p 0000000000018000 08:02 /usr/lib64/libslp.so.1.0.0 00007fd468fca000 4K 4K 4K 4K 0K r--p 0000000000017000 08:02 /usr/lib64/libslp.so.1.0.0 00007fd468fcb000 4K 4K 4K 4K 0K rw-p 0000000000018000 08:02 /usr/lib64/libslp.so.1.0.0 00007fd468fcc000 92K 68K 8K 0K 0K r-xp 0000000000000000 08:02 /lib64/libpthread-2.11.1.so 00007fd468fe3000 2048K 0K 0K 0K 0K ---p 0000000000017000 08:02 /lib64/libpthread-2.11.1.so 00007fd4691e3000 4K 4K 4K 4K 0K r--p 0000000000017000 08:02 /lib64/libpthread-2.11.1.so 00007fd4691e4000 4K 4K 4K 4K 0K rw-p 0000000000018000 08:02 /lib64/libpthread-2.11.1.so 00007fd4691e5000 16K 4K 4K 4K 0K rw-p 0000000000000000 00:00 [anon] 00007fd4691e9000 400K 0K 0K 0K 0K r-xp 0000000000000000 08:02 /usr/lib64/libodbc.so.1.0.0 00007fd46924d000 2044K 0K 0K 0K 0K ---p 0000000000064000 08:02 /usr/lib64/libodbc.so.1.0.0 00007fd46944c000 4K 4K 4K 4K 0K r--p 0000000000063000 08:02 /usr/lib64/libodbc.so.1.0.0 00007fd46944d000 28K 28K 28K 28K 0K rw-p 0000000000064000 08:02 /usr/lib64/libodbc.so.1.0.0 00007fd469454000 4K 0K 0K 0K 0K rw-p 0000000000000000 00:00 [anon] 00007fd469455000 1224K 516K 419K 0K 0K r-xp 0000000000000000 08:02 /usr/lib64/libdb-4.5.so 00007fd469587000 2048K 0K 0K 0K 0K ---p 0000000000132000 08:02 /usr/lib64/libdb-4.5.so 00007fd469787000 12K 12K 12K 12K 0K r--p 0000000000132000 08:02 /usr/lib64/libdb-4.5.so 00007fd46978a000 12K 12K 12K 12K 0K rw-p 0000000000135000 08:02 /usr/lib64/libdb-4.5.so 00007fd46978d000 36K 0K 0K 0K 0K r-xp 0000000000000000 08:02 /usr/lib64/libltdl.so.7.2.0 00007fd469796000 2044K 0K 0K 0K 0K ---p 0000000000009000 08:02 /usr/lib64/libltdl.so.7.2.0 00007fd469995000 4K 4K 4K 4K 0K r--p 0000000000008000 08:02 /usr/lib64/libltdl.so.7.2.0 00007fd469996000 4K 4K 4K 4K 0K rw-p 0000000000009000 08:02 /usr/lib64/libltdl.so.7.2.0 00007fd469997000 56K 48K 31K 0K 0K r-xp 0000000000000000 08:02 /usr/lib64/liblber-2.4.so.2.8.3 00007fd4699a5000 2044K 0K 0K 0K 0K ---p 000000000000e000 08:02 /usr/lib64/liblber-2.4.so.2.8.3 00007fd469ba4000 4K 4K 4K 4K 0K r--p 000000000000d000 08:02 /usr/lib64/liblber-2.4.so.2.8.3 00007fd469ba5000 4K 4K 4K 4K 0K rw-p 000000000000e000 08:02 /usr/lib64/liblber-2.4.so.2.8.3 00007fd469ba6000 308K 164K 164K 0K 0K r-xp 0000000000000000 08:02 /usr/lib64/libldap_r-2.4.so.2.8.3 00007fd469bf3000 2048K 0K 0K 0K 0K ---p 000000000004d000 08:02 /usr/lib64/libldap_r-2.4.so.2.8.3 00007fd469df3000 4K 4K 4K 4K 0K r--p 000000000004d000 08:02 /usr/lib64/libldap_r-2.4.so.2.8.3 00007fd469df4000 8K 8K 8K 8K 0K rw-p 000000000004e000 08:02 /usr/lib64/libldap_r-2.4.so.2.8.3 00007fd469df6000 12K 12K 12K 12K 0K rw-p 0000000000000000 00:00 [anon] 00007fd469df9000 124K 40K 1K 0K 0K r-xp 0000000000000000 08:02 /lib64/ld-2.11.1.so 00007fd469eaf000 708K 704K 704K 704K 0K rw-p 0000000000000000 00:00 [anon] 00007fd469f60000 212K 0K 0K 0K 0K r--s 0000000000000000 08:02 /var/run/nscd/group 00007fd469f95000 212K 0K 0K 0K 0K r--s 0000000000000000 08:02 /var/run/nscd/passwd 00007fd469fca000 212K 0K 0K 0K 0K r--s 0000000000000000 08:02 /var/run/nscd/dbiBEPRi 00007fd469fff000 36K 36K 36K 36K 0K rw-p 0000000000000000 00:00 [anon] 00007fd46a010000 24K 8K 8K 8K 0K rw-s 0000000000000000 00:04 /SYSV00000007 00007fd46a016000 4K 4K 4K 4K 0K rw-p 0000000000000000 00:00 [anon] 00007fd46a017000 4K 4K 4K 4K 0K r--p 000000000001e000 08:02 /lib64/ld-2.11.1.so 00007fd46a018000 4K 4K 4K 4K 0K rw-p 000000000001f000 08:02 /lib64/ld-2.11.1.so 00007fd46a019000 4K 4K 4K 4K 0K rw-p 0000000000000000 00:00 [anon] 00007fd46a01a000 1764K 768K 768K 4K 0K r-xp 0000000000000000 08:02 /usr/lib/openldap/slapd 00007fd46a3d3000 20K 20K 20K 20K 0K r--p 00000000001b9000 08:02 /usr/lib/openldap/slapd 00007fd46a3d8000 44K 44K 44K 44K 0K rw-p 00000000001be000 08:02 /usr/lib/openldap/slapd 00007fd46a3e3000 2077588K 2072704K 2072704K 2072696K 940K rw-p 0000000000000000 00:00 [heap] 00007fffe3bcb000 84K 36K 36K 36K 0K rw-p 0000000000000000 00:00 [stack] 00007fffe3bff000 4K 4K 0K 0K 0K r-xp 0000000000000000 00:00 [vdso] ffffffffff600000 4K 0K 0K 0K 0K r-xp 0000000000000000 00:00 [vsyscall] Total: 14262884K 13195576K 13194838K 13193264K 1640K
11875488K writable-private, 208704K readonly-private, 2178692K shared, and 13146656K referenced
--On Friday, November 23, 2012 9:45 PM +0100 Meike Stone meike.stone@googlemail.com wrote:
I'm afraid to increase the cachesize in DB_CONFIG:
ch_realloc means the system ran out of memory. Increasing the DB_CONFIG cachesize will run you out of memory more quickly.
The best thing for you to do would be to upgrade to OpenLDAP 2.4.33 and switch to using back-mdb.
If you are not capable of doing that, I would suggest you use tcmalloc as an alternative memory allocator to glibc, and reduce your entry cachesize and idlcachesize. If you can reclaim enough space, you should increase your DB_CONFIG cachesize, as that is the most important element of performance with back-bdb/hdb.
--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
openldap-technical@openldap.org