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

Re: Slapd in RedHat 6.2

> ----- Original Message ----- 
> From: "Randy Kunkee" <kunkee@neosoft.com>
> To: "Lg" <gang_l@vinside.com>
> Cc: <openldap-software@OpenLDAP.org>
> Sent: Sunday, July 09, 2000 2:28 AM
> Subject: Re: Slapd in RedHat 6.2
> > There were some items about Linux threads in some recent postings,
> > and some changes, I believe.  You should get the very latest OpenLDAP
> > release and build it on your system.  It has a good chance of fixing
> Thank you very much.
> I have changed my slapd to OpenLdap 1.2.11.But it can not fix that problem.
> If I use slapd with linux threads, slapd dies in several days.If  I use slapd without threads,
> slapd often costs 99% CPU too.
> Teemu Antti-Poika has post a article about sub-scope searches and performance.
> he said,
> "Queries using scope BASE or ONE work properly and efficiently
> but if I want to restrict the search space using the SUB scope,
> the search seems to go through the entire database in a linear 
> fashion. With a couple of million entries, this takes time."

If you want to make subtree searches work faster (where the search base is not
the suffix), then create an index for 'dn'.  Be warned, however, that this
will create a *very* large index file, possibly hundreds of megabytes.

Let us know how the Pth goes.