From owner-freebsd-isp Sat Aug 14 7:57:35 1999 Delivered-To: freebsd-isp@freebsd.org Received: from unix.megared.net.mx (megared.net.mx [207.249.162.252]) by hub.freebsd.org (Postfix) with ESMTP id 30986150DC for ; Sat, 14 Aug 1999 07:57:24 -0700 (PDT) (envelope-from ales@megared.net.mx) Received: from ales (ales.megared.net.mx [207.249.163.252]) by unix.megared.net.mx (8.9.3/8.9.3) with SMTP id JAA43148; Sat, 14 Aug 1999 09:57:00 -0500 (CDT) (envelope-from ales@megared.net.mx) Message-ID: <001501bee665$4b380340$fca3f9cf@megared.net.mx> From: "Alejandro Ramirez" To: "Mike Tancsa" , References: <00ca01bee5d2$ecf7aca0$fca3f9cf@megared.net.mx> <37b4d14c.830045772@mail.sentex.net> Subject: RE: pwd_mkdb and system processes Date: Sat, 14 Aug 1999 09:57:13 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, Thanks, this is great and permanent, just what I was looking for. Ales ----- Original Message ----- From: Mike Tancsa To: Sent: Friday, August 13, 1999 9:27 PM Subject: Re: pwd_mkdb and system processes > On 13 Aug 1999 17:41:39 -0400, in sentex.lists.freebsd.isp you wrote: > > >man pwd_mkdb > > > > > >In <00ca01bee5d2$ecf7aca0$fca3f9cf@megared.net.mx>, on 08/13/99 > > at 04:29 PM, "Alejandro Ramirez" said: > > > >>Hi, > > > >>How do you do it ??? > > > You can also change the source code so that the default cache size is much > bigger. see > /usr/src/usr.sbin/pwd_mkdb > HASHINFO openinfo = { > 4096, /* bsize */ > 32, /* ffactor */ > 256, /* nelem */ > 2048 * 1024, /* cachesize */ > NULL, /* hash() */ > 0 /* lorder */ > }; > > Change it to something like > > 2048 * 1024 * 5, /* cachesize */ > > make depend > make > make install > > We use *10 here... > > ---Mike > Mike Tancsa (mdtancsa@sentex.net) > Sentex Communications Corp, > Waterloo, Ontario, Canada > "Who is this 'BSD', and why should we free him?" > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message