nss_ldap / top startup

Oliver Brandmueller ob at e-Gitt.NET
Tue Apr 26 04:58:21 PDT 2005


On Tue, Apr 26, 2005 at 07:55:37AM +0200, Rink Springer wrote:
> > Any ideas, why this is happening? Will I need 10 seconds, when there are 
> > 60000 accounts in LDAP? :-)
> Have you set your indexes correctly? This may result in a huge speedup.
> I use (this is only for about 180 accounts, but NSS works instantly):

Yes, indices and caching are set well and I don't have any problems with 
the speed of the LDAP server in any way (SMTP, POP, IMAP and so on all 
work very fast and smooth).

> Also, have you tried truss(1) or ktrace(1) on the process? It might help
> you try to see if the LDAP server is just being slow, or the LDAP client is.

Well, I wonder why LDAP should be queried (by nss_ldap) at all (with
-u used as top option). I did not yet truss/ktrace top, but maybe I 

- Oliver

| Oliver Brandmueller | Offenbacher Str. 1  | Germany       D-14197 Berlin |
| Fon +49-172-3130856 | Fax +49-172-3145027 | WWW:   http://the.addict.de/ |
|               Ich bin das Internet. Sowahr ich Gott helfe.               |
| Eine gewerbliche Nutzung aller enthaltenen Adressen ist nicht gestattet! |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050426/1887617c/attachment.bin

More information about the freebsd-stable mailing list