From owner-freebsd-isp Mon Apr 8 4:33: 1 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mail.tiscalinet.it (mail-2.tiscalinet.it [195.130.225.148]) by hub.freebsd.org (Postfix) with ESMTP id 178A037B416 for ; Mon, 8 Apr 2002 04:32:54 -0700 (PDT) Received: from [217.133.241.9] (217.133.241.9) by mail.tiscalinet.it (5.5.057) id 3CAC0469001A2659 for freebsd-isp@freebsd.org; Mon, 8 Apr 2002 13:32:52 +0200 Received: (qmail 1270 invoked by uid 1000); 8 Apr 2002 11:32:44 -0000 Date: Mon, 8 Apr 2002 13:32:44 +0200 From: Francesco Casadei To: Adam Kujawski - Amplex Support Cc: freebsd-isp@freebsd.org Subject: Re: kern.ngroups Message-ID: <20020408133244.A1153@goku.kasby> References: <5.1.0.14.0.20020402143726.02469128@pop3.amplex.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="7AUc2qLy4jB3hD7Z" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <5.1.0.14.0.20020402143726.02469128@pop3.amplex.net>; from adamkuj@amplex.net on Tue, Apr 02, 2002 at 03:10:52PM -0500 X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 02, 2002 at 03:10:52PM -0500, Adam Kujawski - Amplex Support wr= ote: > On a FreeBSD 4.4 system, I want to increase the value of kern.ngroups. >=20 > I've setup /etc/sysctl.conf to set the value, but it doesn't work -- dmes= g=20 > reports back "oid 'kern.ngroups' is read only". I tried to override the= =20 > default value by putting "options NGROUPS_MAX=3D256" in my kernel config = and=20 > recompiling, but it fails with "unknown option "NGROUPS_MAX"". >=20 > Do I have to modify the value in the source code to get this to work? The= =20 > value is set in /usr/src/sys/sys/syslimits.h. If I make the change there,= =20 > do I just have to rebuild the kernel, or do I have to 'make world' to get= =20 > the new value to work? >=20 > Thanks, > Adam >=20 >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message >=20 > end of the original message kern.ngroups is not changeable, i.e. you can not change the value once the kernel is loaded. Try to put kern.ngroups=3D"256" in /boot/loader.conf and restart the system. Not sure it would work, but it's worth to try. Francesco Casadei --=20 You can download my public key from http://digilander.iol.it/fcasadei/ or retrieve it from a keyserver (pgpkeys.mit.edu, wwwkeys.pgp.net, ...) Key fingerprint is: 1671 9A23 ACB4 520A E7EE 00B0 7EC3 375F 164E B17B --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8sX/cfsM3XxZOsXsRAhivAKDU3ioNWBj62wtMEIkQBJn9VGqFPgCePJhW fN1BI6eRk+BqGgStOVPLqmk= =eFfV -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message