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

bdb checkpoints

Hash: SHA1

Dear list users,

I'm trying to get my DB_CONFIG file sorted out and I'm getting confused.
If I follow the documentation available on zytrax.com
(http://www.zytrax.com/books/ldap/ch6/bdb.html#db-config), if I have a
DB_CONFIG file it should contain a txn_checkpoint directive instead of
the checkpoint directive in slapd.conf file which indeed does nothing no
matter if I change it or not. But if I put a txn_checkpoint in the
DB_CONFIG file I get a "unrecognized name-value pair: txn_checkpoint"
error and everything dies miserably.
So, as Howard suggests
I set off on a quest to read the BerkeleyDB documentation. I'm finding
reading it not very useful for several reasons. Firstly txn_checkpoint
directive sometimes occurs
so at least version 3.1, and up?, should understand txn_checkpoint) and
sometimes not
Secondly, there is scarce, if any, reference to the versions of BDB
concerned in the documentation I have found and now I have spent an
awful amount time (well, ten minutes maybe) trying to find out exactly
which version of BDB I have I'd like to make some intelligent use of
that information if at all possible.
Well, I'm lost. The only thing I've found is a gigabyte of bdb logs
created when I populate my directory wich are not removed by dbconfig
set_flags DB_LOG_AUTOREMOVE, and even more as my directory lives it life
(several gigabytes after a week or two). So I'd like to reduce their
volume if at all possible rather than having to regularly remove them
using slapd_db_archive manually.
So, what's the story with BDB transaction checkpoint logs? How can I get
this mess sorted out?
I'm using Openldap 2.3.43-3.el5 with BDB 4.3.29 on CentOS 5.3.

Best regards,

Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature