From owner-freebsd-current Fri Aug 3 10:46:16 2001 Delivered-To: freebsd-current@freebsd.org Received: from InterJet.elischer.org (c421509-a.pinol1.sfba.home.com [24.7.86.9]) by hub.freebsd.org (Postfix) with ESMTP id C1B5137B406 for ; Fri, 3 Aug 2001 10:46:13 -0700 (PDT) (envelope-from julian@elischer.org) Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id MAA51920; Fri, 3 Aug 2001 12:48:42 -0700 (PDT) Date: Fri, 3 Aug 2001 12:48:41 -0700 (PDT) From: Julian Elischer To: ":: Patrick Tracanelli ::" Cc: freebsd-current@FreeBSD.ORG Subject: Re: Keeping User Database loaded in Mem In-Reply-To: <5.1.0.14.0.20010803053447.00a10560@200.210.2.10> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG use one of the client/server authentication methods and write the server part in a way that it keeps it in memory (of course the user database is usually in cache if you are doing a lot of authentication) On Fri, 3 Aug 2001, :: Patrick Tracanelli :: wrote: > > > Hello you all; > I want to know if there is a working way to keep FreeBSD's user database > loaded in memory. The reason's for that is very clear, if i keep my spwd.db > loaded the access to it won't be a disk access, so this will speedup any > forms of authentication... > > The reason is that i want to avoid SQL databases in some cases where the > system database works better to me. I have calculated that a database > amount of 3000 (+/-) users would need about 7.6MB of memory, what sounds > very good to me... > > If there isn't a way to it, yet, that is something i would love to see when > -CURRENT becomes -RELEASE... it's an idea :) > > Best Regards > Peace []'z Eksffa > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message