Re: Understanding nscd and caching
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
Re: Understanding nscd and caching
- From: "Trent W. Buck" <twb-nss-pam-ldapd-users [at] cyber.com.au>
- To: Matt Hughes <hughes.matt [at] gmail.com>
- Cc: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: Re: Understanding nscd and caching
- Date: Thu, 25 Sep 2014 10:40:01 +1000
Matt Hughes wrote:
> At first I thought the new ‘cache’ config option would help, but it
> doesn’t appear to cache everything. I then turned on nscd, but I
> don’t see nslcd making requests to the nscd.
FYI either on an nslcd desktop or a samba4 AD server (I forget which!)
I saw a hundredfold decrease in LDAP traffic after installing unscd.
With nscd I had a lot of heisenbugs; with unscd I haven't seen any.
This is a complete rewrite of the GNU glibc nscd which is a single
threaded server process which offloads all NSS lookups to worker
children; cache hits are handled by the parent, and only cache
misses start worker children, making the parent immune to resource
leaks, hangs, and crashes in NSS libraries.
http://busybox.net/~vda/unscd/
-- apt-cache show unscd
--
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/