From owner-freebsd-hackers Thu Oct 23 08:33:37 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA04531 for hackers-outgoing; Thu, 23 Oct 1997 08:33:37 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from cs.iastate.edu (root@cs.iastate.edu [129.186.3.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA04526 for ; Thu, 23 Oct 1997 08:33:32 -0700 (PDT) (envelope-from ghelmer@cs.iastate.edu) Received: from popeye.cs.iastate.edu (popeye.cs.iastate.edu [129.186.3.4]) by cs.iastate.edu (8.8.7/8.8.7) with ESMTP id KAA15481; Thu, 23 Oct 1997 10:33:28 -0500 (CDT) Received: from localhost (ghelmer@localhost) by popeye.cs.iastate.edu (8.8.7/8.7.1) with SMTP id KAA16023; Thu, 23 Oct 1997 10:33:27 -0500 (CDT) X-Authentication-Warning: popeye.cs.iastate.edu: ghelmer owned process doing -bs Date: Thu, 23 Oct 1997 10:33:26 -0500 (CDT) From: Guy Helmer To: Charles Henrich cc: freebsd-hackers@FreeBSD.ORG Subject: Re: CHILD_MAX no longer valid in 2.2.5-RELEASE? In-Reply-To: <19971023104527.34841@crh.cl.msu.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 23 Oct 1997, Charles Henrich wrote: > On the subject of Re: CHILD_MAX no longer valid in 2.2.5-RELEASE?, Guy Helmer stated: > > init uses the "daemon" entry in /etc/login.conf to set process resource > > limits before executing /etc/rc; it appears to me that the "maxproc" entry > > (maxproc=256) is the one you need to adjust (see also login.conf(5) and > > getcap(3)). > > I'll give it a shot, thanks! Im wondering that perhaps the name login.conf is > a badly named file, especially if its more to do with userresources and > nothing to do with the login process. Someone should also take CHILD_MAX out > of LINT :) login.conf's primary use is for defining authentication methods, setting user resource limits, and setting useful system-wide defaults at login time, based on user class, but it is marginally overloaded (in particular, for init(8) like we've noted). There ought to be a couple of pointers to this use of the daemon entry in login.conf in init(8)'s man page and LINT (assuming CHILD_MAX stays in) -- I suppose that means I ought to make diffs and write a gnats report :-) Guy Helmer, Computer Science Graduate Student - ghelmer@cs.iastate.edu Iowa State University http://www.cs.iastate.edu/~ghelmer Research Assistant, Scalable Computing Laboratory, Ames Laboratory