Subject: kern/4327: It should be possible to override CHILD_MAX and OPEN_MAX ?
To: None <gnats-bugs@gnats.netbsd.org>
From: Charlie Root <root@proxy2.clinet.fi>
List: netbsd-bugs
Date: 10/23/1997 22:08:10
>Number:         4327
>Category:       kern
>Synopsis:       It should be possible to override CHILD_MAX and OPEN_MAX ?
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 23 12:20:01 1997
>Last-Modified:
>Originator:     Charlie Root
>Organization:
	Clinet Ltd
>Release:        21th october 1997, I think
>Environment:
	
System: NetBSD proxy2.clinet.fi 1.3_ALPHA NetBSD 1.3_ALPHA (CLINETALPHA) #17: Thu Oct 23 21:32:05 EEST 1997 root@proxy2.clinet.fi:/usr/src/sys/arch/alpha/compile/CLINETALPHA alpha

Large alpha configuration

>Description:

sys/syslimits.h hard-codes CHILD_MAX and OPEN_MAX.  These probably should
be overrideable in kernel configuration.

>How-To-Repeat:

Run a process- (X terminal) or file-hungry (proxy) application ?

>Fix:

Add 

#ifndef CHILD_MAX
#endif

#ifndef OPEN_MAX
#endif

around the definitions of the said variables sys/syslimits.h ?

>Audit-Trail:
>Unformatted: