Date: Tue, 26 Apr 2005 07:55:37 +0200 From: Rink Springer <rink@stack.nl> To: freebsd-stable@freebsd.org Subject: Re: nss_ldap / top startup Message-ID: <20050426055536.GG56466@stack.nl> In-Reply-To: <20050425105919.GA95908@e-Gitt.NET> References: <20050425105919.GA95908@e-Gitt.NET>
next in thread | previous in thread | raw e-mail | index | archive | help
--xesSdrSSBC0PokLI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, > Any ideas, why this is happening? Will I need 10 seconds, when there are= =20 > 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): # Indices to maintain index objectClass eq index cn sub,pres,eq index uid,uidNumber,gidNumber,homeDirectory pres,eq 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. --=20 Rink P.W. Springer - http://rink.nu "God, root, what is difference?" - Pitr, Userfriendly --xesSdrSSBC0PokLI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCbdfYb3O60uztv/8RApKCAKC2/2h1eEHJXQl6K3jz5CzuIQoCWQCgrIFl Fpnzk7mjZ4xQ0BTo1ZIq76M= =thuh -----END PGP SIGNATURE----- --xesSdrSSBC0PokLI--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050426055536.GG56466>