Howard Chu schrieb:
Matthias Spork wrote:
Howard Chu schrieb:
It looks like some transactions got rolled back, probably because
there wasn't a recent enough checkpoint and the logs for the latest
transactions didn't get flushed to disk. Setting a more frequent
checkpoint interval would probably help.
How could I set this checkpoints?
You could read the slapd-bdb(5) manpage.
After setting checkpoint in my DB_CONFIG, the Server failed to start
with the following error. Rebuild and db_rocover shows the same error.
bdb(o=COMPANY,c=COM): unrecognized name-value pair: checkpoint
DB_CONFIG:
set_cachesize 0 26214400 0
set_lg_max 10485760
set_lg_bsize 2097152
set_lg_dir /var/lib/ldap/transactionlog
set_tmp_dir /tmp
checkpoint 128 10