From owner-freebsd-stable@FreeBSD.ORG Fri Dec 7 14:41:56 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6789E16A419; Fri, 7 Dec 2007 14:41:56 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (unknown [IPv6:2001:610:1908:1000:204:23ff:feb7:ef56]) by mx1.freebsd.org (Postfix) with ESMTP id E1FD713C50F; Fri, 7 Dec 2007 14:41:51 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from lux.student.utwente.nl (lux.student.utwente.nl [130.89.170.81]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id lB7Efgiq015079; Fri, 7 Dec 2007 15:41:42 +0100 From: Pieter de Goeje To: freebsd-stable@freebsd.org Date: Fri, 7 Dec 2007 15:41:41 +0100 User-Agent: KMail/1.9.7 References: <4758DCDA.ED9F0C56@kuzbass.ru> <20071207074910.GA2404@eos.sc1.parodius.com> In-Reply-To: <20071207074910.GA2404@eos.sc1.parodius.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712071541.41808.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: Jeremy Chadwick , Patrick van Iersel , Eugene Grosbein Subject: Re: Extreme load with local password db lookups X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2007 14:41:56 -0000 On Friday 07 December 2007, Jeremy Chadwick wrote: > On Fri, Dec 07, 2007 at 08:44:37AM +0100, Patrick van Iersel wrote: > > > From: Eugene Grosbein > > > See http://www.freebsd.org/cgi/query-pr.cgi?pr=75855 > > > It seems the regression from RELENG_4 is still here. > > > > > > There are so many regressions in performance that I still > > > prefer to invest time to patch bsd.ports.mk to support 4.x > > > (and have a success, I use fresh ports with 4.x these days) > > > then upgrade my UP boxes to 6.x and suffer from loss of performaince. > > > > For what it's worth, Eugene's suggestion of changing nsswitch.conf > > actually helps. It was mentioned in the PR above as well. It's still a > > workaround but it works good enough for me now. > > I stand corrected. :-) The PR referenced by Eugene is dead on. The > priority on that PR should really be changed to medium or high, because > the impact is major. I'm sure large hosting/shell providers are being > bitten by this. I would like to point out that in FreeBSD 7.x there is a daemon called nscd. I believe it was created exactly for this purpose (speeding up name lookups by caching them). - Pieter de Goeje