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

Re: GDBM vs BDB as openldap backend.



> From:  "Alan Sparks" <asparks@doublesparks.net>
> Date:  Thu, 6 Feb 2003 09:35:53 -0700 (MST)
>
> (I'm assuming by BDB you mean Berkeley DB, not the bdb backend of OpenLDAP.
> )
> 
> GDBM is the weak fallback supported by OpenLDAP, and is generally not the
> suggested backend database provider for OpenLDAP.  Berkeley DB is much
> more robust.
> 
> If you are using a supported-by-OpenLDAP version of Berkeley DB, if you're
> having stability problems you should verify you are using up-to-date
> versions of both packages.  And run the Berkeley DB test suite (which is
> very time consuming and complete) to verify you have no problems which
> might be causing you problems.
> 
> I personally use the OpenLDAP 2.1.12 ldbm backend (bdb under test) with
> Berkeley 4.1.25 on Solaris 7.  No stability problems of note, and no CPU
> pegging out.

I have attempted to migrate from GDBM to BDB several times under various 2.0.x 
openldaps and every time I've tried, it's worked fine on my test server, but 
when I tried to install on my production box, it's gone into the weeds and 
caused problems for days while I failed to diagnose the problem.  It's 
frustrating because I can't make it fail on my test box, but it dies miserably 
several times a day on a production box.  My current suspicion is that my test 
environment doesn't have a PC client under domain control, but my production 
environment does.  Given that my samba isn't using LDAP yet, this doesn't 
actually make sense to me, but I'm grasping at straws.  I'm going to put a 
domain controlled client in the test environment, but I'm not going to be 
able to try BDB again any time soon due to other tasks on my list.

I'm completely stable with GDBM.

Chris

-- 
Chris Garrigues                 http://www.DeepEddy.Com/~cwg/
virCIO                          http://www.virCIO.Com
716 Congress, Suite 200
Austin, TX  78701		+1 512 374 0500

	    Without some consensus on what *should* happen, all that
	remains is a desert of unfufilled expectations cross dressing
	as "bugs".
				--- Jeff Johnson <jbj@redhat.com>


Attachment: pgpo8bDkJMWNd.pgp
Description: PGP signature