nscd not caching
Eggert, Lars
lars at netapp.com
Tue Aug 12 08:33:34 UTC 2014
Hi,
On 2014-8-12, at 10:17, Cary <cary at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 273 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20140812/a5bca928/attachment.sig>
More information about the freebsd-hackers
mailing list