[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Performance with OpenLDAP 2.0.26 and Samba
> >and ~160 User log in, the server's CPU gets 100% loaded for periods of
> >several seconds.
> >I noticed that slapd gets called for every "net use L:
\\myserver\myShare".
>
> Do you have nscd running? You should.
>
I didn't. Now I do.
That seems to help. After just 15 Minutes of the beginning of a new starting
lesson, the nscd --statistic shows me 968 positiv cache hits on passwd
cache.
> >My indices:
> >index sn,uid,mail eq,sub
> >index objectClass pres,eq
> >index uidNumber,gidNumber,rid eq
>
> Index memberuid and cn (assuming your group names are stored as "cn" of
the
> posixgroup object and your members are in memberuid)
I did that as well, but I am not shure if it helps. I have the feeling that
it doesn't.
>
> > The Server has enough RAM (1GB) but CPU is short (1GHz PIII).
>
> Should be plenty. My DSA/PDC is a Ppro200 w/384Mb and it handles ~150
users
> without breaking stride.
My user-base is a bit larger (4500 and such quite small AFAIK). Is it just
that up 100 user log in simultaneously.
>
> You have adjusted fs.file-max?
>
> See -
> ftp://kalamazoolinux.org/pub/pdf/PerfTune2001.pdf
>
That paper was very interesting and helped a lot (especially the nscd part).
The sysctl related values as fs.file-max were set by default much higher,
fs.file-max is 104851 in my case. There is no bottleneck in that realm on my
server, as far as I can see.
I still have periods of up to ten seconds (formerly 40) that my server is
100%busy. MS reports a slow server and discontinues to connect some drives.
Especially the "home" drive is concerned. I can't see any reason.
First I let nscd do some work and do some more analyzing, maybe the problem
is solved by now.
Thanks a lot,
Malte Müller