From owner-freebsd-questions Sun Jul 1 13:30:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id CF60237B405 for ; Sun, 1 Jul 2001 13:30:19 -0700 (PDT) (envelope-from cjc@earthlink.net) Received: from blossom.cjclark.org (dialup-209.247.143.73.Dial1.SanJose1.Level3.net [209.247.143.73]) by hawk.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id NAA14604; Sun, 1 Jul 2001 13:29:52 -0700 (PDT) Received: (from cjc@localhost) by blossom.cjclark.org (8.11.4/8.11.3) id f61KTKd10738; Sun, 1 Jul 2001 13:29:20 -0700 (PDT) (envelope-from cjc) Date: Sun, 1 Jul 2001 13:29:16 -0700 From: "Crist J. Clark" To: Len Conrad Cc: freebsd-questions@FreeBSD.ORG Subject: Re: kern.maxproc Message-ID: <20010701132916.E296@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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