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

Re: maintaining indexes while ldap is running.



On Sat, 8 Sep 2001, Markus Storm wrote:

> You should check whether using the latest REL_ENG_2 makes a difference
> for you.
> (for us, it looks like it did; but I'd like to see someone on this list
> confirm it).
Okay, that's the CVS (or latest) version of OpenLDAP, right?  I tried
compiling it (2.0.2) to replace the 2.0.11 RPMS I'm using (get TLS,
Kerberos, etc all compiled in right) and couldn't get it configured right,
so I'm going to wait for Redhat to produce RPMS for it that I'll tweak.

Michael


>
>
> regards,
> Markus
>
> Michael L Torrie wrote:
>
> >(No I'm not talking about running slapadd while the server is running!)
> >
> >My problem is that over time, writing to the database using ldapadd or php
> >functions seems to cause something to go wrong with my indexes.  The
> >system starts not seeing unix users (stored in ldap).  If I stop ldap and
> >run slapindex, and restart, then the users are normal again (ie linux sees
> >them fine).  Is this a known issue?  I mean I know that writing to an ldap
> >database is not that great (no locking, etc).  I'm serializing most of my
> >writes via a sql database that's ldapadded every few minutes.  When I get
> >a large batch of updates, over time, bad things happen, like crashes of
> >slapd, etc.  If I slapindex as I've mentioned,  ldap gets back to being
> >nice and stable.
> >
> >I appreciate any advice and help.
> >
> >thanks,
> >
> >Michael
> >
> >
> >
>
>