Subject: Re: pwd_mkdb
To: Jukka Marin <jmarin@pyy.jmp.fi>
From: None <seebs@plethora.net>
List: current-users
Date: 02/22/1999 09:09:31
In message <19990222164017.A28985@pyy.jmp.fi>, Jukka Marin writes:
>There's this NetBSD box with almost 6000 users.  A robot manipulates the
>account information several times every hour, which causes pwd_mkdb to
>recreate the user database.  This is _slow_.  Currently, the database is
>rebuilt for every modification separately and as one rebuild takes almost
>a minute....  This is on NetBSD 1.3.2.

You may want to hack pwd_mkdb to have a significantly larger cache; I know
that that's the answer BSDI gives when people complain about pwd_mkdb's
performance.

>Will this be fixed in 1.4?  If not, we are in deep trouble... ;-)  There
>was some talk about not recreating the whole database but only modifying
>the existing one.. but I guess this improvement hasn't been done yet?

Not that I've noticed.

-s