Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Apr 2002 13:32:44 +0200
From:      Francesco Casadei <fcasadei@inwind.it>
To:        Adam Kujawski - Amplex Support <adamkuj@amplex.net>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: kern.ngroups
Message-ID:  <20020408133244.A1153@goku.kasby>
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
References:  <5.1.0.14.0.20020402143726.02469128@pop3.amplex.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020408133244.A1153>