From owner-freebsd-questions@FreeBSD.ORG Tue Oct 8 12:34:17 2013 Return-Path: Delivered-To: freebsd-questions@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 ESMTP id 6054087D for ; Tue, 8 Oct 2013 12:34:17 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: from n9.bullet.mail.bf1.yahoo.com (n9.bullet.mail.bf1.yahoo.com [66.196.81.225]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2F3672F9D for ; Tue, 8 Oct 2013 12:34:08 +0000 (UTC) Received: from [72.30.235.67] by n9.bullet.mail.bf1.yahoo.com with NNFMP; 08 Oct 2013 11:33:41 -0000 Received: from [98.139.212.217] by t4.bullet.mail.bf1.yahoo.com with NNFMP; 08 Oct 2013 11:32:47 -0000 Received: from [127.0.0.1] by omp1026.mail.bf1.yahoo.com with NNFMP; 08 Oct 2013 11:32:47 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 808583.79307.bm@omp1026.mail.bf1.yahoo.com Received: (qmail 71303 invoked by uid 60001); 8 Oct 2013 11:32:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1381231967; bh=GMKsMckTMpPyWS7rb3ekuJTrwLBHrdV4IhY8EGX9Y5U=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=vD0uYsmFg/ho/06g9MfumKS6yJ+mNuu+cTzj62oz+3MtZ3t2fcBbUNXqT3wq316H9dO5Y1P/3aKx2zeA4F7pDKhBWO/ZSZCG5SMW7BaAFbr2pXGf263jHw9fMtAUDkjhZtPWKbq2aY9UyCyO+ob4HuoiyZe1y13EkZOW47ZNlpA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=LzO5v6zazIpWBgk2jpMvTzrbX0+EkvNGG0RLIgMGMEH6pqdXkHAg286ADwO9zNhaEdnzWw5LI+k71oLw7a4zkYtXuL6Av0UG66U0qexgnASSrPdKjsR6JCtrbcUGwlaqjpQjfSD73f0CAjdKilW+wo6bNt2vwzjlujkEROiLp0E=; X-YMail-OSG: g29fMM0VM1kLU203yyrmZv2C0DpJLF1TNboufFHkaXxKejs 3tiqzSoMJ.CoT7qJr61cD3qocTk.22pfljDOnRXN0qZjXVKQMKaZGWVeK7p0 b26NhyCIafOoaUM0x8iq3OzwLy7soW1kvPRuK5fBHeyk7UONWSO9kqCGj0vl 3kAnDnieHZ3jnMIwZwZXoWKOYXMTvKRrGp8XyiaO5HLa88uHhlwpkcAYrTYL 64pl_ixRIeRh.tEHlVRHr0JrU88ZlBMvB3ehe2zENqiVK8CKwYKpBPSJzW1W KRCCyG2yUuKK4vMG1Ywk1QNLNXMlbwgcH0RFrrg09wwukpkTMzjgs6XMjAyM R7AmgUXpcPM2.4TlYCjsKHeyg57jxbBYfjHBocC1B_uV4sL.i.rFSAy1OSG2 KzttxLxdUaTRbcmtfeJ3qBFM6jiUPiQxLgO1t8Fq00l8UGPj9HvF_3u4Cw41 TKCaYt9PN9NCkc8kAvLbBUs0pl.XEHuh01flg.nCF2JzVmOKdufeYNzKI365 eCnBB3ZS2J5B_3PFXGpxXHBXfZcW07MiG1AUJJpTXzWW4eTeTgPEfNHBh3z. gnvp.TBZxWQwGudDZL1.ooyoxWT7TNvKN3D1inxbUQ4Sj7ps- Received: from [62.77.229.168] by web160506.mail.bf1.yahoo.com via HTTP; Tue, 08 Oct 2013 04:32:45 PDT X-Rocket-MIMEInfo: 002.001, Tm90IGEgYmFkIGlkZWEuCgoKCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwogRnJvbTogTWFyayBGZWxkZXIgPGZlbGRARnJlZUJTRC5vcmc.ClRvOiBmcmVlYnNkLXF1ZXN0aW9uc0BmcmVlYnNkLm9yZyAKU2VudDogTW9uZGF5LCBPY3RvYmVyIDcsIDIwMTMgODozNSBQTQpTdWJqZWN0OiBSZTogbXVuaW4gcmVsYXRlZAogCgpPbiBNb24sIE9jdCA3LCAyMDEzLCBhdCAxMjo1NywgTGFzemxvIERhbmllbGlzeiB3cm90ZToKPiBEZWFyIERhbiwgCj4gCj4gWWVwIGtpbGxpbmcgbnNjZCBoZWxwIG0BMAEBAQE- X-Mailer: YahooMailWebService/0.8.160.587 References: <1380991485.82917.YahooMailNeo@web160503.mail.bf1.yahoo.com> <20131007155554.GB5343@dan.emsphone.com> <12BA615C8BF048EAA9C5961448988DAF@yahoo.com> <1381170944.1348.31089409.5240B3D0@webmail.messagingengine.com> Message-ID: <1381231965.70095.YahooMailNeo@web160506.mail.bf1.yahoo.com> Date: Tue, 8 Oct 2013 04:32:45 -0700 (PDT) From: Laszlo Danielisz Subject: Re: munin related To: Mark Felder , "freebsd-questions@freebsd.org" In-Reply-To: <1381170944.1348.31089409.5240B3D0@webmail.messagingengine.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Laszlo Danielisz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Oct 2013 12:34:17 -0000 Not a bad idea. ________________________________ From: Mark Felder 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: 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 ; 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 ; 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 ; 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 To: FreeBSD Questions 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: References: <1380991485.82917.YahooMailNeo@web160503.mail.bf1.yahoo.com> <20131007155554.GB5343@dan.emsphone.com> <12BA615C8BF048EAA9C5961448988DAF@yahoo.com> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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