Extreme load with local password db lookups
Doug Barton
dougb at FreeBSD.org
Sat Dec 8 22:04:25 PST 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.
My nsswitch.conf looks like the following. Do you get the same benefit
(faster lookups) by commenting out the _compat methods, or only if you
change group and passwd to 'files'?
Doug
group: compat
#group_compat: nis
hosts: files dns
networks: files
passwd: compat
#passwd_compat: nis
shells: files
services: compat
#services_compat: nis
protocols: files
rpc: files
--
This .signature sanitized for your protection
More information about the freebsd-stable
mailing list