From owner-freebsd-questions Tue May 2 12:14:44 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 0DBA737BB31 for ; Tue, 2 May 2000 12:14:41 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id OAA16697; Tue, 2 May 2000 14:14:31 -0500 (CDT) (envelope-from dan) Date: Tue, 2 May 2000 14:14:31 -0500 From: Dan Nelson To: "Ben C. O. Grimm" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Recompiling pwd_mkdb Message-ID: <20000502141431.B14952@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.12i In-Reply-To: ; from "Ben C. O. Grimm" on Tue May 2 20:50:57 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (May 02), Ben C. O. Grimm said: > Found this in a digest: > > > I have on FreeBSD machine about 33000 users and this number grow! > > > To add a new user takes about 1 minute.At this time the machine > > > is very busy :( Are you adding users with "pw useradd", or something else? It sounds like you're rebuilding the entire user database for some reason. > Is it a matter of just increasing the cache size to, say, 4096 * > 2048, leaving the other values as they are, or should all values be > increased in conjunction? If you're running pwd_mkdb manually, run "pwd_mkdb -s 8000000" (for an 8 MB cache). -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message