From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 12 08:33:34 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 08F025A4 for ; Tue, 12 Aug 2014 08:33:34 +0000 (UTC) Received: from mx11.netapp.com (mx11.netapp.com [216.240.18.76]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mx11.netapp.com", Issuer "VeriSign Class 3 International Server CA - G3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D59A52A11 for ; Tue, 12 Aug 2014 08:33:33 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.01,847,1400050800"; d="asc'?scan'208";a="139652072" Received: from vmwexceht06-prd.hq.netapp.com ([10.106.77.104]) by mx11-out.netapp.com with ESMTP; 12 Aug 2014 01:33:32 -0700 Received: from HIOEXCMBX07-PRD.hq.netapp.com (10.122.105.40) by vmwexceht06-prd.hq.netapp.com (10.106.77.104) with Microsoft SMTP Server (TLS) id 14.3.123.3; Tue, 12 Aug 2014 01:33:03 -0700 Received: from HIOEXCMBX07-PRD.hq.netapp.com (10.122.105.40) by hioexcmbx07-prd.hq.netapp.com (10.122.105.40) with Microsoft SMTP Server (TLS) id 15.0.913.22; Tue, 12 Aug 2014 01:33:02 -0700 Received: from HIOEXCMBX07-PRD.hq.netapp.com ([::1]) by hioexcmbx07-prd.hq.netapp.com ([fe80::f0de:b572:dd26:36b5%21]) with mapi id 15.00.0913.011; Tue, 12 Aug 2014 01:33:02 -0700 From: "Eggert, Lars" To: Cary Subject: Re: nscd not caching Thread-Topic: nscd not caching Thread-Index: AQHPtVuLYaAik14OAEOAejvgb8mhtJvMHc2AgAAjqwCAANTxgIAABGyA Date: Tue, 12 Aug 2014 08:33:02 +0000 Message-ID: <6FDCA8B5-AD2D-4A8F-A6AC-95AD69C8E227@netapp.com> References: <9F8FBD79-2825-4B22-BD14-EACF65A7DD50@netapp.com> <20140811172755.GA1414@SDF.ORG> <8068C863-0F02-45CF-AF15-C4230BE65255@netapp.com> <53E9CDA7.2020600@SDF.org> In-Reply-To: <53E9CDA7.2020600@SDF.org> 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=_D3AE0375-1454-4889-8460-5417E9005DA2"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 Cc: "freebsd-hackers@freebsd.org" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2014 08:33:34 -0000 --Apple-Mail=_D3AE0375-1454-4889-8460-5417E9005DA2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, On 2014-8-12, at 10:17, Cary wrote: > perform-actual-lookups services yes > perform-actual-lookups passwd yes > perform-actual-lookups group yes >=20 > In /etc/nscd.conf you might add the lines above. That would configure = nscd to > do more than cache. It may also give you some sign whether it's = doing > anything at all. If I do that, I get messages in the nscd trace such as : E2 from write_request: entry 'group' performs lookups by itself: can't = write to it E2 from write_request: entry 'passwd' performs lookups by itself: can't = write to it At first I thought it was because of + lines in /etc/group and = /etc/passwd, but even if I take those out I get these messages. Lookup speed still slow, cache doesn't seem to be used. Lars --Apple-Mail=_D3AE0375-1454-4889-8460-5417E9005DA2 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+nRXdZcnpRveo1xAQIrygP/X28RWXKmMhuES9BYQK3Sy/Fg+cGmlqU6 3S6juTLBFBUeIi+Ev1NKrROEmunKPAd9Ayrc9g08c3/2RejhBgYroZ8hfXAE5Nsk KrLakU75mE1LhZonZXhu9JIPrWC+XY2izMj6jofMRIgG/A2IRBOZF/HjnHXYkRQe zX9PLhecPUI= =XqhO -----END PGP SIGNATURE----- --Apple-Mail=_D3AE0375-1454-4889-8460-5417E9005DA2--