nscd not caching
Cary
cary at SDF.org
Tue Aug 12 09:11:44 UTC 2014
Eggert, Lars wrote:
> 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
>
I've only been using nscd attempting to cache hosts. Using it
again, I'm not having the problems I had before, but
the trace does not show any activity either.
The issue before was that getting rss messages would lock
up the browser or make it segfault. There was a domain that
would not resolve at that time because the server for the feed
was down for several days. When I stopped running nscd there
were no more segfaults or lockups.
Cary
--
cary at sdf.org
SDF Public Access UNIX System - http://sdf.org
------------------------------
More information about the freebsd-hackers
mailing list