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

Re: syncrepl w/ 2.3 and bdb 4.3 working great

Dusty Doris wrote:
I uncomment DB_TXT_NOSYNC when doing the original slapadd - then comment
it back when I start for the first time.  This causes slapd to run
db_recover automatically to update the BDB environment and re-enable

DB_CONFIG (all servers)
set_cachesize 0 536870912 1
set_lg_regionmax 1048576
set_lg_bsize 2097152
set_lg_max 10485760
#set_flags DB_TXN_NOSYNC

With OpenLDAP 2.3.5 you could use slapadd -q and forget about editing DB_CONFIG. Of course with -q transactions are totally disabled, so if the slapadd is interrupted you will not be able to db_recover it; if you're doing a lot of incremental slapadds over a course of time you probably shouldn't risk -q...

 -- Howard Chu
 Chief Architect, Symas Corp.  http://www.symas.com
 Director, Highland Sun        http://highlandsun.com/hyc
 OpenLDAP Core Team            http://www.openldap.org/project/