From owner-freebsd-stable@FreeBSD.ORG Tue Apr 26 07:17:34 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 319FC16A4CE for ; Tue, 26 Apr 2005 07:17:34 +0000 (GMT) Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C2D043D55 for ; Tue, 26 Apr 2005 07:17:33 +0000 (GMT) (envelope-from rink@stack.nl) Received: from hammer.stack.nl (hammer.stack.nl [IPv6:2001:610:1108:5010::153]) by mailhost.stack.nl (Postfix) with ESMTP id 4C8EC21A5B for ; Tue, 26 Apr 2005 07:55:37 +0200 (CEST) Received: by hammer.stack.nl (Postfix, from userid 1796) id 2B803663D; Tue, 26 Apr 2005 07:55:37 +0200 (CEST) Date: Tue, 26 Apr 2005 07:55:37 +0200 From: Rink Springer To: freebsd-stable@freebsd.org Message-ID: <20050426055536.GG56466@stack.nl> References: <20050425105919.GA95908@e-Gitt.NET> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xesSdrSSBC0PokLI" Content-Disposition: inline In-Reply-To: <20050425105919.GA95908@e-Gitt.NET> X-Editor: Vim http://www.vim.org/ X-Info: http://rink.nu/ X-Operating-System: FreeBSD 5.4-STABLE amd64 User-Agent: Mutt/1.5.9i Subject: Re: nss_ldap / top startup X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 07:17:34 -0000 --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--