Re: [PATCH] nscd

2014-10-06 Thread John Baldwin
On Monday, September 29, 2014 11:40:52 PM David Shane Holden wrote: > So, I've noticed nscd hasn't worked right for awhile now. Since I > upgraded to 10.0 it never seemed to cache properly but I never bothered > to really dig into it until recently and here's what I've found. In my > environment

Re: [PATCH] nscd

2014-09-30 Thread David Shane Holden
On 09/30/14 04:17, Eggert, Lars wrote: When I start "nscd -n -s -t" and then run top in another shell, top takes ~10 seconds to start up every time; if nscd did its thing, repeat invocations should be much faster. nscd doesn't seem to see any activity either, based on its log: The -t switch wil

Re: [PATCH] nscd

2014-09-30 Thread Eggert, Lars
Hi, I've been seeing the same issues with nscd not caching, but unfortunately your patch doesn't seem to change things, for better or worse. My nsswitch.conf looks as follows: group: cache files nis hosts: cache files dns networks: cache files passwd: cache files nis shells: files services: cac

[PATCH] nscd

2014-09-29 Thread David Shane Holden
So, I've noticed nscd hasn't worked right for awhile now. Since I upgraded to 10.0 it never seemed to cache properly but I never bothered to really dig into it until recently and here's what I've found. In my environment I have nsswitch set to use caching and LDAP as such: group: files cache ld