Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Oct 2011 09:38:50 +0200 (CEST)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>
Cc:        hackers@freebsd.org, Michel Talon <talon@lpthe.jussieu.fr>
Subject:   Re: Does anyone use nscd?
Message-ID:  <alpine.BSF.2.00.1110050931310.18373@mail.fig.ol.no>
In-Reply-To: <051853CE-03EC-4EEC-A5AC-C380131B28E4@gsoft.com.au>
References:  <20111004160043.GA16034@lpthe.jussieu.fr> <051853CE-03EC-4EEC-A5AC-C380131B28E4@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--2055831798-1450607061-1317800332=:18373
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: 8BIT

On Wed, 5 Oct 2011 12:54+1030, Daniel O'Connor wrote:

> On 05/10/2011, at 2:30, Michel Talon wrote:
> 
> > Des wrote:
> >> Does anyone actually use nscd?
> > 
> > I am using it since a lot of time. I have not experienced annoying bugs
> > in all that time. The last time i have been hit is when installing some
> > new softs which require adding some user and some group with pw. Of
> > course this doesn't work well with caching these data, and i had
> > completely forgotten i was using a cache. This is very perplexing.
> 
> In my experience ncsd seems to cache negative hits forever, 
> regardless of the setting for negative-time-to-live.

I'm glad to see I'm not the only one who has noticed this odd 
behaviour of nscd. Shame on me for not speaking up sooner, but I 
feared I might be proved wrong (again), and yes, that's a lame excuse. 
:-/

> If I am installing ports which create a new user or group I have to 
> restart nscd. I also find if openldap dies (not infrequent) I have 
> to restart nscd after restarting openldap..

After bulk loading ~250 students into our LDAP (Novell eDirectory) 
each fall, and deleting the graduated students, I restart nscd on our 
servers just to make sure the caches doesn't contain any negative 
results. Maybe I should set up a cron job to restart nscd once a day 
until the source code is cleaned up.


Trond.

-- 
----------------------------------------------------------------------
Trond Endrestøl                  | Trond.Endrestol@fagskolen.gjovik.no
ACM, NAS, NUUG, SAGE, USENIX     |    FreeBSD 8.2-STABLE & Alpine 2.00
--2055831798-1450607061-1317800332=:18373--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1110050931310.18373>