Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 1995 00:25:05 -0700
From:      Poul-Henning Kamp <phk@critter.tfs.com>
To:        Mark Hittinger <bugs@ns1.win.net>
Cc:        hackers@freebsd.org
Subject:   Re: pwd_mkdb is intense 
Message-ID:  <341.809767505@critter.tfs.com>
In-Reply-To: Your message of "Tue, 29 Aug 1995 14:15:46 EDT." <199508291815.OAA02459@ns1.win.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> We have a rather large password file and I can hear the system groaning
> whenever someone changes their password.  Top shows the process go to
> about 20-30% of the P90 for around 2 or 3 minutes.  Swap space in use
> increases by around 15% during this period.
> 
> chpass/passwd all pass the buck to pwd_mkdb which recreates the entire
> file.
> 
> Is there a utility which updates the various keys in the db for just one
> particular user id?  Would the db routines that pwd_mkdb calls actually
> support the in-place update of a particular record? :-)

You should probably check the cache parameters for the db(3) code.

--
Poul-Henning Kamp           | phk@FreeBSD.ORG       FreeBSD Core-team.
http://www.freebsd.org/~phk | phk@login.dknet.dk    Private mailbox.
whois: [PHK]                | phk@ref.tfs.com       TRW Financial Systems, Inc.
Just that: dried leaves in boiling water ?



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