Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2007 03:40:46 -0800
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        Eugene Grosbein <eugen@kuzbass.ru>
Cc:        Patrick van Iersel <pviersel@office.caiw.nl>, freebsd-stable@freebsd.org
Subject:   Re: Extreme load with local password db lookups
Message-ID:  <20071206114046.GA78813@eos.sc1.parodius.com>
In-Reply-To: <20071206112207.GA74486@svzserv.kemerovo.su>
References:  <C37D8F8E.39687%pviersel@office.caiw.nl> <20071206112207.GA74486@svzserv.kemerovo.su>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 06, 2007 at 06:22:07PM +0700, Eugene Grosbein wrote:
> On Thu, Dec 06, 2007 at 11:37:50AM +0100, Patrick van Iersel wrote:
> 
> > Here's the situation. We have an web/ftp server with around 74000 users
> > defined in the local unix password database. On 4.9-stable which it is
> > running now, there is no noticable load when lookups are done (logins via
> > ftp, ~user lookups from apache etc.). We want to migrate this system to
> > 6-stable.
> > However on 6-STABLE (FreeBSD 6.3-PRERELEASE #0: Wed Dec  5 13:35:05 CET
> > 2007) these same lookups cause very high load and things slow down to a
> > crawl.
> > 
> > Does anybody have an idea what causes this behavior?
> > 
> > Thanx in advance for any insights.
> 
> Take a look to your /etc/nsswitch.conf. If you do not use NIS,
> try to change lines for 'group' and 'passwd' to look like this:
> 
> group: files
> passwd: files

The default value is "compat" on both RELENG_6 and RELENG_7.  I don't
think switching to "files" will fix his problem (I'll be very surprised
if it does).

-- 
| Jeremy Chadwick                                    jdc at parodius.com |
| Parodius Networking                           http://www.parodius.com/ |
| UNIX Systems Administrator                      Mountain View, CA, USA |
| Making life hard for others since 1977.                  PGP: 4BD6C0CB |




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