Re: nscd not caching

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Sun, 17 Aug 2014 15:22:02 +0200
Am Sun, 17 Aug 2014 13:09:10 +0000
"Eggert, Lars" <lars_at_netapp.com> schrieb:

> Nobody using nscd? Really?

I can only speak for myself and I stopped using nscd since the support is crap.

A while ago (t > 1 1/2 years) I realised within a OpenLDAP environment, that when nscd is
running, sometimes the system simple "forgets" about root - this is painful while
installing/updating ports and getting interrupted with a weird error "unknown user root".

nscd is supposed to be used in large environments where the cost for a user lookup, like
in OpenLDAP, is worse. But obviously FreeBSD isn't used in that large environments with
OpenLDAP and I'm wondering what the purpose of nscd is.
> 
> On 2014-8-14, at 13:26, Eggert, Lars <lars_at_netapp.com> wrote:
> 
> > [Resending to current_at_, since I can't get it to work on -CURRENT either.]
> > 
> > Hi,
> > 
> > anyone have an idea why nscd would not be caching NIS lookups?
> > 
> > My nsswitch.conf looks as follows:
> > 
> > group: cache files nis
> > hosts: cache files dns
> > networks: cache files
> > passwd: cache files nis
> > shells: files
> > services: cache files nis
> > protocols: cache files
> > rpc: cache files
> > 
> > nisdomain is set and ypbind is started, and I see lots of NIS traffic going in and
> > out.
> > 
> > But nothing is cached; running nscd with -t just prints this and then then nothing,
> > ever:
> > 
> > M1 from main: successfully daemonized
> > M1 from main: request agents registered successfully
> > M2 from cache: cache was successfully initialized
> > M2 from runtime environment: using socket /var/run/nscd
> > M2 from runtime environment: successfully initialized
> > M1 from main: thread #0 was successfully created
> > M1 from main: thread #1 was successfully created
> > M1 from main: thread #2 was successfully created
> > M1 from main: thread #3 was successfully created
> > M1 from main: thread #4 was successfully created
> > M1 from main: thread #5 was successfully created
> > M1 from main: thread #6 was successfully created
> > M1 from main: thread #7 was successfully created
> > 
> > Lars
> > 
> 



Received on Sun Aug 17 2014 - 11:25:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:51 UTC