Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2013 04:32:45 -0700 (PDT)
From:      Laszlo Danielisz <laszlo_danielisz@yahoo.com>
To:        Mark Felder <feld@FreeBSD.org>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: munin related
Message-ID:  <1381231965.70095.YahooMailNeo@web160506.mail.bf1.yahoo.com>
In-Reply-To: <1381170944.1348.31089409.5240B3D0@webmail.messagingengine.com>
References:  <1380991485.82917.YahooMailNeo@web160503.mail.bf1.yahoo.com> <20131007155554.GB5343@dan.emsphone.com> <12BA615C8BF048EAA9C5961448988DAF@yahoo.com> <1381170944.1348.31089409.5240B3D0@webmail.messagingengine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Not a bad idea.




________________________________
 From: Mark Felder <feld@FreeBSD.org>
To: freebsd-questions@freebsd.org 
Sent: Monday, October 7, 2013 8:35 PM
Subject: Re: munin related
 

On Mon, Oct 7, 2013, at 12:57, Laszlo Danielisz wrote:
> Dear Dan, 
> 
> Yep killing nscd help me to get out of this trouble.
> 
> Thank you very much! 
> 

Some day it might be feasible to tie a hook into pkg that clears the
uid/gid cache in nscd when trying to install packages so this isn't a
problem.

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
From owner-freebsd-questions@FreeBSD.ORG  Tue Oct  8 12:49:31 2013
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTP id AB367FA
 for <freebsd-questions@freebsd.org>; Tue,  8 Oct 2013 12:49:31 +0000 (UTC)
 (envelope-from feld@FreeBSD.org)
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com
 [66.111.4.25])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id 7E2C420B2
 for <freebsd-questions@freebsd.org>; Tue,  8 Oct 2013 12:49:31 +0000 (UTC)
Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42])
 by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 6C7C92139D
 for <freebsd-questions@freebsd.org>; Tue,  8 Oct 2013 08:49:30 -0400 (EDT)
Received: from web3 ([10.202.2.213])
 by compute2.internal (MEProxy); Tue, 08 Oct 2013 08:49:30 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
 messagingengine.com; h=message-id:from:to:mime-version
 :content-transfer-encoding:content-type:subject:date:in-reply-to
 :references; s=smtpout; bh=FJ33KJZKMUfh3sywRP689sMM1eg=; b=cdmAx
 ZPDA5KIL24IsWXlEjIu9nHElUnkVximB9bICLLZIB0XFacQjXwQ0HJead7g+eOQI
 +NMNm/OgAQ8SZwQZ16qkho7d3OWhMfqWrqEOd7y12S/KWuH/katW56FrK1EUAnnL
 xLdpeWSUI38O2JkWBiTbATNBbaSQ07jdkmWa+o=
Received: by web3.nyi.mail.srv.osa (Postfix, from userid 99)
 id 4E1A7116A6F; Tue,  8 Oct 2013 08:49:30 -0400 (EDT)
Message-Id: <1381236570.4983.31420537.4465A37F@webmail.messagingengine.com>
X-Sasl-Enc: +YaBCg63JmlIOowbrO4j4fslydBKMGrTa4UC06+lgPaC 1381236570
From: Mark Felder <feld@FreeBSD.org>
To: FreeBSD Questions <freebsd-questions@freebsd.org>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="ISO-8859-1"
X-Mailer: MessagingEngine.com Webmail Interface - ajax-ce174988
Subject: Re: munin related
Date: Tue, 08 Oct 2013 07:49:30 -0500
In-Reply-To: <alpine.BSF.2.00.1310080808140.70367@mail.fig.ol.no>
References: <1380991485.82917.YahooMailNeo@web160503.mail.bf1.yahoo.com>
 <20131007155554.GB5343@dan.emsphone.com>
 <12BA615C8BF048EAA9C5961448988DAF@yahoo.com>
 <alpine.BSF.2.00.1310080808140.70367@mail.fig.ol.no>
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Oct 2013 12:49:31 -0000

On Tue, Oct 8, 2013, at 1:15, Trond Endrest=F8l wrote:
> On Mon, 7 Oct 2013 19:57+0200, Laszlo Danielisz wrote:
>=20
> > Yep killing nscd help me to get out of this trouble.
>=20
> I have long suspected nscd to reinitialise the timers whenever an=20
> entry is requested while still held in the cache, be it a positive or=20
> a negative result.
>=20
> As such the only reasonable solution is to never cache negative=20
> results (TTL=3D0) and keep the positive TTL relatively short, say no=20
> more than 60 minutes.
>=20
> Can someone more knowledgeable on nscd internals confirm my suspicion?
>=20

I'm not that guy, but I do remember watching this closely on the mailing
lists a while back. I can't deploy nscd because of negative cache issues
and I don't think this patch in this thread was ever committed. I
haven't had time to investigate, though.


http://freebsd.1045724.n5.nabble.com/PATCH-Fix-for-negative-cacheing-proble=
m-in-NSCD-td5722843.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1381231965.70095.YahooMailNeo>