Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2014 02:08:22 -0700
From:      Cary <cary@SDF.org>
To:        "Eggert, Lars" <lars@netapp.com>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: nscd not caching
Message-ID:  <53E9D986.8000605@SDF.org>
In-Reply-To: <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> <6FDCA8B5-AD2D-4A8F-A6AC-95AD69C8E227@netapp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Eggert, Lars wrote:
> 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
> 

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@sdf.org
SDF Public Access UNIX System - http://sdf.org


------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53E9D986.8000605>