From owner-freebsd-questions Tue May 2 12:22: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailrelay.wirehub.nl (mailrelay.wirehub.nl [195.86.25.80]) by hub.freebsd.org (Postfix) with ESMTP id E7D8437BA85 for ; Tue, 2 May 2000 12:22:03 -0700 (PDT) (envelope-from Ben.Grimm@wirehub.net) Received: from bigben.wirehub.net (bigben.wirehub.net [195.86.114.90]) by mailrelay.wirehub.nl (8.9.3/8.9.3) with ESMTP id VAA11720 for ; Tue, 2 May 2000 21:22:01 +0200 (CEST) Date: Tue, 2 May 2000 21:22:01 +0200 (DST) From: "Ben C. O. Grimm" Reply-To: "Ben C. O. Grimm" To: freebsd-questions@FreeBSD.ORG Subject: Re: Recompiling pwd_mkdb In-Reply-To: <20000502141431.B14952@dan.emsphone.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 2 May 2000, Dan Nelson wrote: >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. Users are added by a script which invokes pw useradd with some parameters. We add (and remove :) dozens of users every day this way. The remove part uses rmuser, of course. >> 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). No, it's being called from pw/rmuser each time. -- - Ben C. O. Grimm ----------------- Ben.Grimm@wirehub.net - - Wirehub! Internet Engineering - http://www.wirehub.net/ - - Wirehub! Backbone --- http://doema.wirehub.net/wirehub/ - - Private Ponderings ------- http://libertas.wirehub.net/ - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message