From owner-freebsd-current@FreeBSD.ORG Tue Aug 19 11:55:00 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3362772C for ; Tue, 19 Aug 2014 11:55:00 +0000 (UTC) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D9D173516 for ; Tue, 19 Aug 2014 11:54:59 +0000 (UTC) Received: from th-04.cs.huji.ac.il ([132.65.80.125]) by kabab.cs.huji.ac.il with esmtp id 1XJhzz-000N36-SV; Tue, 19 Aug 2014 14:54:47 +0300 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: nscd not caching From: Daniel Braniss In-Reply-To: <9C985132-212F-4F2D-BEBF-CFEAC0097CC9@netapp.com> Date: Tue, 19 Aug 2014 14:54:40 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <3B285476-A7ED-4C88-A2CB-9BD7E93C0E69@cs.huji.ac.il> References: <53F0D3F3.4030804@egr.msu.edu> <9C985132-212F-4F2D-BEBF-CFEAC0097CC9@netapp.com> To: "Eggert, Lars" X-Mailer: Apple Mail (2.1878.6) Cc: Adam McDougall , "freebsd-current@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2014 11:55:00 -0000 On Aug 18, 2014, at 10:42 AM, Eggert, Lars wrote: > Hi, >=20 > On 2014-8-17, at 18:10, Adam McDougall wrote: >> We were using +::::::::: type entries in the local password and group >> tables and I believe we used an unmodified /etc/nsswitch.conf = (excluding >> cache lines while testing nscd): >=20 > I tried that setup too, and it doesn't seem to be caching any NIS = lookups either. >=20 > The current NIS server is 25ms away, which is a pain. I'm trying to = get a local slave set up, which will make the need for nscd go away, but = it would sure be nice if it worked in the meantime. >=20 >> At our site, we never had enough load to outright require nscd on >> FreeBSD, although there were some areas where caching had a usability >> benefit. >=20 > Load is not an issue, latency is (see above). I know that this a bit late but have you ever considered Hesiod? it uses = DNS/txt. we have been using it since the days when BSDi had no NIS support and = haven=92t seen a ypserver not responding since :-) danny