From owner-freebsd-current Tue Mar 4 16:52:57 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA29409 for current-outgoing; Tue, 4 Mar 1997 16:52:57 -0800 (PST) Received: from pahtoh.cwu.edu (root@pahtoh.cwu.edu [198.104.65.27]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id QAA29379 for ; Tue, 4 Mar 1997 16:52:50 -0800 (PST) Received: from opus.cts.cwu.edu (skynyrd@opus.cts.cwu.edu [198.104.92.71]) by pahtoh.cwu.edu (8.6.13/8.6.9) with ESMTP id QAA18245; Tue, 4 Mar 1997 16:52:48 -0800 Received: from localhost (skynyrd@localhost) by opus.cts.cwu.edu (8.8.5/8.8.5) with SMTP id QAA11066; Tue, 4 Mar 1997 16:52:47 -0800 (PST) Date: Tue, 4 Mar 1997 16:52:47 -0800 (PST) From: Chris Timmons To: Nate Williams cc: current@freebsd.org Subject: Re: Upping the default # of processes in 2.2? In-Reply-To: <199703041911.MAA00403@rocky.mt.sri.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As for the default per-user limits, I'm running tcsh and have this in /etc/csh.cshrc: limit maxproc 100 which seems to work pretty well! -Chris On Tue, 4 Mar 1997, Nate Williams wrote: > The login classes will allow me to do it in 3.0-current, but I need it > in 2.2. > > I thought that adding the following lines of code to /etc/rc.local would > work, but it doesn't. > > /usr/sbin/sysctl -w kern.maxproc=300 > /usr/sbin/sysctl -w kern.maxprocperuid=299 > > I still run out of processes on my 'workstation', since it uses the > default process limit of 40. Is there a sysctl I can change to modify > this behavior? Should there be? > > Thanks! > > Nate >