[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Possible issue with Openldap and bdb with bdb transaction logs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Fortin, John {PBG} wrote:
| We seem to have an issue with OpenLDAP not releasing transactions to the
| backend bdb database we are using. I've searched as best I can for a
| solution to no avail.
|
| Currently we are trying to bulk load 600,000 users to OpenLDAP, 50,000
at a
| time. While the load process is running, we are generating a large number
| of tranaction logs in bdb. We are trying to run 'db_checkpoint -1' and
| 'db_archive -d' in order to trim the transaction logs to a manageable size
| as the load runs. However, these do not seem to work while slapd is
| running. When we stop slapd, both programs run as expected and the
logs are
| deleted.
|
| We have tried adding the checkpoint parameter to the slapd.conf, but this
| does not seem to work. The docs and entrie in the FAQ-o-matic seem to
| indicate that this may not even be supported anymore. There were a couple
| of hits on using txn_checkpoint in DB_CONFIG, but this parameter does not
| seem to valid.
|
| Is there an issue with checkpointing the backend bdb while slapd is
running?
In 2.2.x, yes.
| If not, is there a general procedure for forcing checkpoint without taking
| slapd down.
|
| We are using OpenLDAP version 2.2.15 on RH ES 30 and bdb 4.2.52.
|
Please search the archives, IIRC Howard Chu posted about it, apparently
it can only be fixed with db-4.3, but I am not sure if an additional
patch for openldap-2.2 is necessary (and I haven't had time to test my
2.2.18/4.3.21 build yet).
Regards,
Buchan
- --
Buchan Milne Senior Support Technician
Obsidian Systems http://www.obsidian.co.za
B.Eng RHCE (803004789010797)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBlTywrJK6UGDSBKcRAqNQAJ9R0G2j7yuMfpF1FC/uvhF2vKhTXACfcGCQ
vFNxbqzB8aEfe8ncK0Wb2bM=
=nLoN
-----END PGP SIGNATURE-----