Extreme load with local password db lookups

Pieter de Goeje pieter at degoeje.nl
Fri Dec 7 06:41:56 PST 2007


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 <eugen at kuzbass.ru>
> > > 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


More information about the freebsd-stable mailing list