From careilly@monoid.cs.tcd.ie  Sat Aug 26 06:16:36 1995
Received: from monoid.cs.tcd.ie (monoid.cs.tcd.ie [134.226.38.99])
          by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id GAA17813
          for <FreeBSD-gnats-submit@freebsd.org>; Sat, 26 Aug 1995 06:16:34 -0700
Received: (from careilly@localhost) by monoid.cs.tcd.ie (8.6.11/8.6.9) id OAA04984; Sat, 26 Aug 1995 14:16:30 +0100
Message-Id: <199508261316.OAA04984@monoid.cs.tcd.ie>
Date: Sat, 26 Aug 1995 14:16:30 +0100
From: Colman Reilly <careilly@monoid.cs.tcd.ie>
Reply-To: careilly@monoid.cs.tcd.ie
To: FreeBSD-gnats-submit@freebsd.org
Subject: CHILD_MAX set rather low by default?
X-Send-Pr-Version: 3.2

>Number:         708
>Category:       conf
>Synopsis:       CHILD_MAX set rather low by default?
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 26 06:20:00 PDT 1995
>Closed-Date:    Sun Aug 27 16:13:14 MET DST 1995
>Last-Modified:  Sun Aug 27 16:14:02 MET DST 1995
>Originator:     Colman Reilly
>Release:        FreeBSD 2.0-BUILT-19950603 i386
>Organization:
>Environment:

	2.0.5 Release kernel.

>Description:

	It seems to me that the CHILD_MAX in the default configurations is
	a bit small, even for a single user machine: someone running X 
	can easily wander over 40 processes.

>How-To-Repeat:

	Compile from a GENERIC kernel.

>Fix:
	
	I'd suggest putting

# Under some circumstances it is necessary to make the default max
# number of processes per user and open files per user more than the
# defaults on bootup.  (an example is a large news server in which
# the uid, news, can sometimes need > 100 simultaneous processes running,
# or perhaps a user using lot's of windows under X).
options  "CHILD_MAX=64"  
options  "OPEN_MAX=128"

	into the GENERIC configuration, so that new users working from that
	as a reference will find it when they're rebuilding their kernel,
	rather than actually having to think about it. :-)

Colman
>Release-Note:
>Audit-Trail:

From: J Wunsch <j@uriah.heep.sax.de>
To: careilly@monoid.cs.tcd.ie
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: conf/708: CHILD_MAX set rather low by default?
Date: Sat, 26 Aug 1995 15:25:45 +0200 (MET DST)

 As Colman Reilly wrote:
 > 
 > 	I'd suggest putting
 > 
 > # Under some circumstances it is necessary to make the default max
 > # number of processes per user and open files per user more than the
 > # defaults on bootup.  (an example is a large news server in which
 > # the uid, news, can sometimes need > 100 simultaneous processes running,
 > # or perhaps a user using lot's of windows under X).
 > options  "CHILD_MAX=64"  
 > options  "OPEN_MAX=128"
 > 
 > 	into the GENERIC configuration.
 
 Actually LINT is the place for this kind of stuff, but you're right.
 
 -- 
 cheers, J"org
 
 joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
 Never trust an operating system you don't have sources for. ;-)
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Sun Aug 27 16:13:14 MET DST 1995 
State-Changed-Why:  
Added a comment in: 
Checking in LINT; 
/home/ncvs/src/sys/i386/conf/LINT,v  <--  LINT 
new revision: 1.196; previous revision: 1.195 

>Unformatted:
 
