From owner-freebsd-current@FreeBSD.ORG Mon Aug 18 07:43:36 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 84DF3FBE for ; Mon, 18 Aug 2014 07:43:36 +0000 (UTC) Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mx2.netapp.com", Issuer "VeriSign Class 3 International Server CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 436D93675 for ; Mon, 18 Aug 2014 07:43:36 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.01,884,1400050800"; d="asc'?scan'208";a="100570602" Received: from vmwexceht01-prd.hq.netapp.com ([10.106.76.239]) by mx2-out.netapp.com with ESMTP; 18 Aug 2014 00:43:31 -0700 Received: from HIOEXCMBX02-PRD.hq.netapp.com (10.122.105.35) by vmwexceht01-prd.hq.netapp.com (10.106.76.239) with Microsoft SMTP Server (TLS) id 14.3.123.3; Mon, 18 Aug 2014 00:42:40 -0700 Received: from HIOEXCMBX07-PRD.hq.netapp.com (10.122.105.40) by hioexcmbx02-prd.hq.netapp.com (10.122.105.35) with Microsoft SMTP Server (TLS) id 15.0.913.22; Mon, 18 Aug 2014 00:42:39 -0700 Received: from HIOEXCMBX07-PRD.hq.netapp.com ([::1]) by hioexcmbx07-prd.hq.netapp.com ([fe80::55e3:a7dc:11bd:462%21]) with mapi id 15.00.0913.011; Mon, 18 Aug 2014 00:42:39 -0700 From: "Eggert, Lars" To: Adam McDougall Subject: Re: nscd not caching Thread-Topic: nscd not caching Thread-Index: AQHPt7KjJmpD94JuA0qgbFukGy7xyJvVPwmAgAAyboCAAQSvAA== Date: Mon, 18 Aug 2014 07:42:38 +0000 Message-ID: <9C985132-212F-4F2D-BEBF-CFEAC0097CC9@netapp.com> References: <53F0D3F3.4030804@egr.msu.edu> In-Reply-To: <53F0D3F3.4030804@egr.msu.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.1878.6) x-originating-ip: [10.122.56.79] Content-Type: multipart/signed; boundary="Apple-Mail=_9AE9E1F9-0578-4535-AABB-9708E3D27C22"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 Cc: "freebsd-current@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2014 07:43:36 -0000 --Apple-Mail=_9AE9E1F9-0578-4535-AABB-9708E3D27C22 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, On 2014-8-17, at 18:10, Adam McDougall wrote: > We were using +::::::::: type entries in the local password and group > tables and I believe we used an unmodified /etc/nsswitch.conf = (excluding > cache lines while testing nscd): I tried that setup too, and it doesn't seem to be caching any NIS = lookups either. The current NIS server is 25ms away, which is a pain. I'm trying to get = a local slave set up, which will make the need for nscd go away, but it = would sure be nice if it worked in the meantime. > At our site, we never had enough load to outright require nscd on > FreeBSD, although there were some areas where caching had a usability > benefit. Load is not an issue, latency is (see above). > top was slow to open since it would load the whole passwd > table first, but top -u was a workaround. Right, I see that issue too. > As a workaround until we retired NIS, I wrote a hack of a script to > merge NIS groups into my local /etc/group files periodically from = cron. > Aside from bugs in my script, that worked well. I may end up doing this, too. Given all this, maybe it's time to retire nscd? Lars --Apple-Mail=_9AE9E1F9-0578-4535-AABB-9708E3D27C22 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQCVAwUBU/GuoNZcnpRveo1xAQI2CQQAheHMbkMzu/OwA6L0Vmk9ksLH4hTPGQ/6 ViB3Iwp9g6CFtlX2K4C6wNx9u5lPsTRNyTrB2cquo7vGS8AmXsNJpfNNGCfxEMHk dfNFxy0UJVJFQaj2lIRIO5BvbLkjDqCSVimnyY8PgqAyTuTP92FWZn+Cua92LlFn YI+6F9XReHw= =bcjW -----END PGP SIGNATURE----- --Apple-Mail=_9AE9E1F9-0578-4535-AABB-9708E3D27C22--