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

RE: slapcat question

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Tibbetts, Ric

> All;
> I had a recent situation where the performance of my OpenLDAP
> server was
> "in the bucket". Searches took far to long (up to 10 minutes), and
> logins were painfully slow.
> I shut down the server, and ran slapindex last night, and it
> cleared the
> problems up. So, it would appear that it was just an index issue.

So you used slapindex, but the subject of this email is slapcat. ???

> So that raises a question:
> How often should slapindex be run, to maintain a well
> performing database?

For older versions of back-ldbm, where index corruption was a frequent
occurrence, running slapindex might help. You never specified which backend
you're using.

Usually you only need to run slapindex after changing the indexing
configuration in slapd.conf. When slapd is running, the backends already
maintain whatever indexes were listed in slapd.conf at startup time. If
slapd.conf doesn't change, you never need to run slapindex.

> Anyone have any thoughts on this?

Check your BDB cache settings.

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