Date: Tue, 12 Aug 2014 08:33:02 +0000 From: "Eggert, Lars" <lars@netapp.com> To: Cary <cary@SDF.ORG> Cc: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: Re: nscd not caching Message-ID: <6FDCA8B5-AD2D-4A8F-A6AC-95AD69C8E227@netapp.com> In-Reply-To: <53E9CDA7.2020600@SDF.org> References: <9F8FBD79-2825-4B22-BD14-EACF65A7DD50@netapp.com> <20140811172755.GA1414@SDF.ORG> <8068C863-0F02-45CF-AF15-C4230BE65255@netapp.com> <53E9CDA7.2020600@SDF.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hi, On 2014-8-12, at 10:17, Cary <cary@SDF.ORG> wrote: > perform-actual-lookups services yes > perform-actual-lookups passwd yes > perform-actual-lookups group yes > > 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- iQCVAwUBU+nRXdZcnpRveo1xAQIrygP/X28RWXKmMhuES9BYQK3Sy/Fg+cGmlqU6 3S6juTLBFBUeIi+Ev1NKrROEmunKPAd9Ayrc9g08c3/2RejhBgYroZ8hfXAE5Nsk KrLakU75mE1LhZonZXhu9JIPrWC+XY2izMj6jofMRIgG/A2IRBOZF/HjnHXYkRQe zX9PLhecPUI= =XqhO -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6FDCA8B5-AD2D-4A8F-A6AC-95AD69C8E227>
