From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 20:36:44 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 5D23416A4B3 for ; Tue, 30 Sep 2003 20:36:44 -0700 (PDT) Received: from avscan2.sentex.ca (avscan2.sentex.ca [199.212.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91A5543FCB for ; Tue, 30 Sep 2003 20:36:41 -0700 (PDT) (envelope-from mike@sentex.net) Received: from localhost (localhost [127.0.0.1]) by avscan2.sentex.ca (Postfix) with ESMTP id D3FD559CAE; Tue, 30 Sep 2003 23:36:40 -0400 (EDT) Received: from avscan2.sentex.ca ([127.0.0.1]) by localhost (avscan2.sentex.ca [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 45626-02; Tue, 30 Sep 2003 23:36:40 -0400 (EDT) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by avscan2.sentex.ca (Postfix) with ESMTP id 8E04859C98; Tue, 30 Sep 2003 23:36:40 -0400 (EDT) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.12.9p1/8.12.9) with ESMTP id h913addK085288; Tue, 30 Sep 2003 23:36:39 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.0.0.22.0.20030930233807.08953b60@209.112.4.2> X-Sender: mdtpop@209.112.4.2 (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Tue, 30 Sep 2003 23:39:58 -0400 To: Greg Goodman From: Mike Tancsa In-Reply-To: <167-2048716679.20030930200718@fastserve.net> References: <1476593828.20030930175150@fastserve.net> <6.0.0.22.0.20030930210335.0739c0d8@209.112.4.2> <16410572221.20030930181331@fastserve.net> <6.0.0.22.0.20030930211841.07c490f8@209.112.4.2> <167-2048716679.20030930200718@fastserve.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by Sentex Communications (avscan2/20030616p5) cc: questions@freebsd.org Subject: Re[3]: Passwd command slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2003 03:36:44 -0000 I would say double check NIS didnt accidentally get set up. ---Mike At 11:07 PM 30/09/2003, Greg Goodman wrote: >Hello Mike, > >It shows: >548 1028 37390 /etc/passwd > >I am not running NIS > >Tuesday, September 30, 2003, 6:19:41 PM, you wrote: > > >MT> Wat does >MT> wc /etc/passwd >MT> show ? > >MT> Are you running NIS ? > >MT> ---Mike > >MT> At 09:13 PM 30/09/2003, Greg Goodman wrote: > >>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 > > > >-- >Best regards, > Greg mailto:admin@fastserve.net