From owner-freebsd-questions@FreeBSD.ORG Thu Dec 11 07:00:53 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 40F4716A4F2 for ; Thu, 11 Dec 2003 07:00:53 -0800 (PST) Received: from be-well.no-ip.com (lowellg.ne.client2.attbi.com [66.30.200.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 985CB43D29 for ; Thu, 11 Dec 2003 07:00:50 -0800 (PST) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.no-ip.com (Postfix, from userid 1147) id 2643D89; Thu, 11 Dec 2003 10:00:50 -0500 (EST) Sender: lowell@be-well.ilk.org To: jonathan References: <001701c3bf4a$2cb30240$3400a8c0@php> From: Lowell Gilbert Date: 11 Dec 2003 10:00:50 -0500 In-Reply-To: <001701c3bf4a$2cb30240$3400a8c0@php> Message-ID: <44ad5zs8kd.fsf@be-well.ilk.org> Lines: 37 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: NGROUPS_MAX X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2003 15:00:53 -0000 "jonathan" writes: > Hi, i'm jonathan and i'm running a freebsd 4.8 box. > > i wish to increase the value of NGROUPS_MAX into /usr/src/sys/sys/syslimits.h. > > I'd like to know how increasing that number to permit users from /etc/passwd to be member of more than 16 groups will affect system performances. Depends on how the systems is used, to some extent. You probably won't notice it as long as it doesn't get ridiculously large. I realize that statement is a circular definition, but an accurate answer would, well, depend on how the system is used. > What will be an acceptable value for NGROUPS_MAX? > I know this number is set to 32 in suse linux.... I suspect doubling it would be fine, but trying it is the best way to know. > I know that ACL is a better way but i wont use it until it's stable under 5.x freebsd and that 5.x is recomended for production issues. If your application really requires this sort of thing, 5.x might be more stable for your application than 4.x. Or maybe you should describe how you're getting to need so many groups, and see if someone can suggest a better way without the groups... > About how doing that change... > Is it just about changing the value and reboot the machine or there is some recompilation matter linked to that change? You have to rebuild everything that uses it, of course. I'd recommend a full system rebuild. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html -- Lowell Gilbert, embedded/networking software engineer, Boston area: resume/CV at http://be-well.ilk.org:8088/~lowell/resume/ username/password "public"