Date: Sun, 1 Jul 2001 13:29:16 -0700 From: "Crist J. Clark" <cristjc@earthlink.net> To: Len Conrad <LConrad@Go2France.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: kern.maxproc Message-ID: <20010701132916.E296@blossom.cjclark.org> In-Reply-To: <5.1.0.14.0.20010701213843.02e428c8@mail.Go2France.com>; from LConrad@Go2France.com on Sun, Jul 01, 2001 at 09:40:56PM %2B0200 References: <5.1.0.14.0.20010630174654.03c870c8@mail.Go2France.com> <5.1.0.14.0.20010630174654.03c870c8@mail.Go2France.com> <20010701154102.A376@iv.nn.kiev.ua> <5.1.0.14.0.20010701213843.02e428c8@mail.Go2France.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 01, 2001 at 09:40:56PM +0200, Len Conrad wrote: > > > > Do I have to install the source and recompile? > > > >No, put it to /etc/sysctl.conf. > > Well, opionions are extremely varied on this one :))) They shouldn't be. From sysctl(8), Name Type Changeable ... ... ... kern.maxproc integer no And if we go to the code, $ grep -w maxproc /usr/src/sys/kern/kern_mib.c SYSCTL_INT(_kern, KERN_MAXPROC, maxproc, CTLFLAG_RD, &maxproc, 0, "Maximum number of processes"); Note the 'CTLFLAG_RD;' it's read-only. You need to recompile to change it. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010701132916.E296>