[Date Prev][Date Next]
Re: syncrepl_del_nonpresent and syncrepl issues.
dbconfig set_lk_detect DB_LOCK_DEFAULT
dbconfig set_lg_max 52428800
dbconfig set_cachesize 0 67108864 1
dbconfig set_flags db_log_autoremove
dbconfig set_lk_max_objects 1500
dbconfig set_lk_max_locks 1500
dbconfig set_lk_max_lockers 1500
You don't provide relevant data on the size of your database to make any
comment one way or the other on whether your "set_cachesize" value is
I would suggest you provide the output of du -c -h *.bdb in your
OpenLDAP 2.3 database directory.
Coming right up! I appreciate your time in doing some sanity checks for me.
(no -c in Solaris, the whole dir is: )
If it is at all interesting, on the live master (not the test server with
identical data) the running data look like:
# /usr/local/BerkeleyDB.4.2/bin/db_stat -m
80MB 2KB 912B Total cache size.
1 Number of caches.
80MB 8KB Pool individual cache size.
0 Requested pages mapped into the process' address space.
163M Requested pages found in the cache (98%).
3324522 Requested pages not found in the cache.
25800 Pages created in the cache.
3324522 Pages read into the cache.
1893069 Pages written from the cache to the backing file.
3333040 Clean pages forced from the cache.
832 Dirty pages forced from the cache.
0 Dirty pages written by trickle-sync thread.
16450 Current total page count.
16303 Current clean page count.
147 Current dirty page count.
8191 Number of hash buckets used for page location.
169M Total number of times hash chains searched for a page.
14 The longest hash chain searched for a page.
383M Total number of hash buckets examined for page location.
479M The number of hash bucket locks granted without waiting.
4563 The number of hash bucket locks granted after waiting.
62 The maximum number of times any hash bucket lock was waited for.
12M The number of region locks granted without waiting.
11491 The number of region locks granted after waiting.
3350398 The number of page allocations.
6704823 The number of hash buckets examined during allocations
4161 The max number of hash buckets examined for an allocation
3333872 The number of pages examined during allocations
2064 The max number of pages examined for an allocation
Also, master LDAP slapd.conf has this cache related line:
checkpoint 128 15
Now, live slapd consumes about 800MB of memory when it is running, which is
probably acceptable as the server is dedicated to LDAP master. (Has 2GB RAM).
Jorgen Lundman | <email@example.com>
Unix Administrator | +81 (0)3 -5456-2687 ext 1017 (work)
Shibuya-ku, Tokyo | +81 (0)90-5578-8500 (cell)
Japan | +81 (0)3 -3375-1767 (home)