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

bdb checkpoints



-----BEGIN PGP SIGNED MESSAGE-----
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
(http://www.openldap.org/lists/openldap-software/200605/msg00091.html),
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
(http://www.oracle.com/technology/documentation/berkeley-db/db/programmer_reference/upgrade_3_1_txn_check.html
so at least version 3.1, and up?, should understand txn_checkpoint) and
sometimes not
(http://www.oracle.com/technology/documentation/berkeley-db/db/api_reference/C/env.html).
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.
Thanks.

Best regards,

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

iEYEARECAAYFAkq5+hoACgkQSWuBJnHIHdIZxACg1kcPx90oHYn8G/D33HWf+dzE
0OAAnRgckB9Nbre0Z7azx15YFLOMOCR4
=OYos
-----END PGP SIGNATURE-----

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