Date: Tue, 26 Apr 2005 13:58:19 +0200 From: Oliver Brandmueller <ob@e-Gitt.NET> To: freebsd-stable@freebsd.org Subject: Re: nss_ldap / top startup Message-ID: <20050426115819.GG95908@e-Gitt.NET> In-Reply-To: <20050426055536.GG56466@stack.nl> References: <20050425105919.GA95908@e-Gitt.NET> <20050426055536.GG56466@stack.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
--/e2eDi0V/xtL+Mc8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi. 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 ar= e=20 > > 60000 accounts in LDAP? :-) >=20 > 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=20 the speed of the LDAP server in any way (SMTP, POP, IMAP and so on all=20 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=20 should. - Oliver --=20 | 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! | --/e2eDi0V/xtL+Mc8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCbizbiqtMdzjafykRAhC2AJ94Wk1RM1AemZdpd9rmkkzs9NF7RgCfS0gs q1QSiPPJkq9H3K+MDqGdBwM= =nNd+ -----END PGP SIGNATURE----- --/e2eDi0V/xtL+Mc8--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050426115819.GG95908>