Subject: kern/11137: default CHILD_MAX is too low (again)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mrg@eterna.com.au>
List: netbsd-bugs
Date: 10/04/2000 17:37:11
>Number: 11137
>Category: kern
>Synopsis: default CHILD_MAX is too low (again)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Oct 04 17:37:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: matthew green
>Release: <NetBSD-current source date>today
>Organization:
people's front against (bozotic) www (softwar foundation)
>Environment:
System: NetBSD towers-of-dub.eterna.com.au 1.4Z NetBSD 1.4Z (_towers_) #43: Fri Jun 2 23:31:34 EST 2000 mrg@towers-of-dub.eterna.com.au:/orb/y/_towers_ alpha
>Description:
the default value of CHILD_MAX is once again too low for many users.
>How-To-Repeat:
run a big window manager with lots of applications and have
mysterious failures.
>Fix:
i've had this doubled for some time now.
Index: sys/sys/syslimits.h
===================================================================
RCS file: /cvsroot/syssrc/sys/sys/syslimits.h,v
retrieving revision 1.18
diff -p -r1.18 syslimits.h
*** sys/sys/syslimits.h 1999/09/27 16:24:40 1.18
--- sys/sys/syslimits.h 2000/10/05 00:33:10
***************
*** 42,48 ****
#if !defined(_ANSI_SOURCE)
#define ARG_MAX (256 * 1024) /* max bytes for an exec function */
! #define CHILD_MAX 80 /* max simultaneous processes */
#define GID_MAX 2147483647U /* max value for a gid_t (2^31-2) */
#define LINK_MAX 32767 /* max file link count */
#define MAX_CANON 255 /* max bytes in term canon input line */
--- 42,48 ----
#if !defined(_ANSI_SOURCE)
#define ARG_MAX (256 * 1024) /* max bytes for an exec function */
! #define CHILD_MAX 160 /* max simultaneous processes */
#define GID_MAX 2147483647U /* max value for a gid_t (2^31-2) */
#define LINK_MAX 32767 /* max file link count */
#define MAX_CANON 255 /* max bytes in term canon input line */
>Release-Note:
>Audit-Trail:
>Unformatted: