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

Re: slow access, strange errors



Thanks, guys!  The extra indices did the trick!

> Hi,
> Geoff Silver wrote,
>
> > I'm running OpenLDAP 2.0.23 with libnss-ldap 186-1 under Debian Linux.  I
> > have several LDAP servers/replicas.  Strangely, an 'ls -l /home' on the
> > system takes about 6.5 seconds to run on ~90 entries when querying a
> > remote server with a 2.4.18 kernel, but 11.5 to do the same on the local
> > slapd server with a 2.2.18 kernel.  Either way that seems to take a very
> > long time, but it's particular disturbing that two identical systems, both
> > Athlon XP 1700+ with plenty of RAM perform so much differently.
> >
> > I've tried some slapd.conf tuning, including setting:
> > 	cachesize       100000
> > 	dbcachesize     20000000
> > 	index default pres,eq
> > 	index cn,sn,mail,givenName pres,eq,sub
>
> Add following indices:
> index uid,uidNumber,gidNumber eq,pres
>
> Do you use nscd? It gives you some more perfomance, because
> of caching.
>
> bye
>   Waldemar
>
>

-- 
Geoff Silver					<geoff at uslinux dot net>
"If Bill Gates had a nickel for every time Windows crashed...
	Oh wait, he does"