From owner-freebsd-hackers@FreeBSD.ORG Wed Oct 5 03:01:13 2011 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 499391065677 for ; Wed, 5 Oct 2011 03:01:13 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id C64B98FC08 for ; Wed, 5 Oct 2011 03:01:05 +0000 (UTC) Received: from ur.gsoft.com.au (Ur.gsoft.com.au [203.31.81.44]) (authenticated bits=0) by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id p952OvPe095803 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 5 Oct 2011 12:55:03 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset=us-ascii From: "Daniel O'Connor" In-Reply-To: <20111004160043.GA16034@lpthe.jussieu.fr> Date: Wed, 5 Oct 2011 12:54:57 +1030 Content-Transfer-Encoding: quoted-printable Message-Id: <051853CE-03EC-4EEC-A5AC-C380131B28E4@gsoft.com.au> References: <20111004160043.GA16034@lpthe.jussieu.fr> To: Michel Talon X-Mailer: Apple Mail (2.1244.3) X-Spam-Score: -4.391 () ALL_TRUSTED,BAYES_00,RP_MATCHES_RCVD X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10 Cc: hackers@freebsd.org Subject: Re: Does anyone use nscd? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2011 03:01:13 -0000 On 05/10/2011, at 2:30, Michel Talon wrote: > Des wrote: >> Does anyone actually use nscd? >=20 > 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. >=20 In my experience ncsd seems to cache negative hits forever, regardless = of the setting for negative-time-to-live. 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.. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C