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

Re: OpenLDAP as an enterprise level LDAP provider

Fortin, John {PBG} wrote:

Thanks Howard. I'll try a new build, but I have done it from scratch twice
and actually looked at the code to ensure the patches were applied. I'll
also try a build with bdb4.3 and 2.2.18 with Quanah's patches.

It just occurred to me what you're actually doing. (ding...) The slapadd tool doesn't do any checkpointing while it runs, so DB_LOG_AUTOREMOVE doesn't have any opportunity to work. It never seemed to be important before because we always disable transaction logs when running slapadd. If you (using BDB 4.2) add "set_flags DB_TXN_NOT_DURABLE" to your DB_CONFIG file (and you increase your cache from your current 52MB to something larger) you should be able to slapadd your 600K entries without any problem. Just remember to comment out the flag before starting slapd.

In CVS HEAD / release 2.3 we've added a "fasttool" slapd.conf option which automatically sets this flag for you when running slapadd / slapindex, so you don't need to remember to muck with the DB_CONFIG file.

 -- Howard Chu
 Chief Architect, Symas Corp.       Director, Highland Sun
 http://www.symas.com               http://highlandsun.com/hyc
 Symas: Premier OpenSource Development and Support