From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 18:13:00 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B499816A4B3 for ; Tue, 30 Sep 2003 18:13:00 -0700 (PDT) Received: from fastserve.net (fastserve.net [216.176.199.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id C80E643FF5 for ; Tue, 30 Sep 2003 18:12:59 -0700 (PDT) (envelope-from admin@fastserve.net) Received: from tech.fastserve.net (tech.fastserve.net [216.176.203.54]) by fastserve.net (8.12.10/8.12.10) with ESMTP id h911CxKp095188; Tue, 30 Sep 2003 18:12:59 -0700 (PDT) Date: Tue, 30 Sep 2003 18:13:31 -0700 From: Greg Goodman X-Mailer: The Bat! (v1.62r) Personal X-Priority: 3 (Normal) Message-ID: <16410572221.20030930181331@fastserve.net> To: Mike Tancsa In-Reply-To: <6.0.0.22.0.20030930210335.0739c0d8@209.112.4.2> References: <1476593828.20030930175150@fastserve.net> <6.0.0.22.0.20030930210335.0739c0d8@209.112.4.2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re[2]: Passwd command slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Greg Goodman List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2003 01:13:00 -0000 Hello Mike, I tried that and it didn't help. Is there anything else I can try? Tuesday, September 30, 2003, 6:06:47 PM, you wrote: MT> If you have a large password file, increase the cache size of pwd_mkdb MT> cd /usr/src/usr.sbin/pwd_mkdb MT> edit pwd_mkdb.c MT> On line 74 you see MT> HASHINFO openinfo = { MT> 4096, /* bsize */ MT> 32, /* ffactor */ MT> 256, /* nelem */ MT> 2048 * 1024, /* cachesize */ MT> NULL, /* hash() */ MT> 0 /* lorder */ MT> }; MT> do something like MT> HASHINFO openinfo = { MT> 4096, /* bsize */ MT> 32, /* ffactor */ MT> 256, /* nelem */ MT> 32 * 2048 * 1024, /* cachesize */ MT> NULL, /* hash() */ MT> 0 /* lorder */ MT> }; MT> Then MT> make depend MT> make MT> make install MT> ---Mike MT> At 08:51 PM 30/09/2003, Greg Goodman wrote: >>Hello Everyone, >> >>I have a server running freebsd 4.8. >>When you type the command "passwd" it hangs for more than 2 minutes >>before it finally responds and prompts to change an existing users >>password. >> >>Can anyone shed some light on this issue? >> >>Thanks for the help. >> >>-- >>Best regards, >> Greg Goodman mailto:admin@fastserve.net >> >> Chief Technical Officer >> >> Fastserve Network >> http://www.fastserve.net >> (213)673-4440 ext 204 >> 548 S. Spring St. Suite 1100 >> Los Angeles Ca. 90013 >> The Net Never Sleeps And Neither Do We >> >>_______________________________________________ >>freebsd-questions@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Best regards, Greg Goodman mailto:admin@fastserve.net Chief Technical Officer Fastserve Network http://www.fastserve.net (213)673-4440 ext 204 548 S. Spring St. Suite 1100 Los Angeles Ca. 90013 The Net Never Sleeps And Neither Do We