From owner-freebsd-stable@FreeBSD.ORG Tue Apr 26 11:58:21 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 7007416A4CE for ; Tue, 26 Apr 2005 11:58:21 +0000 (GMT) Received: from obh.snafu.de (obh.snafu.de [213.73.92.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id A56F843D1F for ; Tue, 26 Apr 2005 11:58:20 +0000 (GMT) (envelope-from ob@gruft.de) Received: from ob by obh.snafu.de with local (Exim 4.50 (FreeBSD)) id 1DQOhn-000Kwc-SK for freebsd-stable@freebsd.org; Tue, 26 Apr 2005 13:58:19 +0200 Date: Tue, 26 Apr 2005 13:58:19 +0200 From: Oliver Brandmueller To: freebsd-stable@freebsd.org Message-ID: <20050426115819.GG95908@e-Gitt.NET> Mail-Followup-To: freebsd-stable@freebsd.org References: <20050425105919.GA95908@e-Gitt.NET> <20050426055536.GG56466@stack.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/e2eDi0V/xtL+Mc8" Content-Disposition: inline In-Reply-To: <20050426055536.GG56466@stack.nl> User-Agent: Mutt/1.5.9i Sender: Oliver Brandmueller 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 11:58:21 -0000 --/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--