diff --git a/sys/conf/NOTES b/sys/conf/NOTES index c6ffc9baa1f2..f961b0a3b829 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -4,7 +4,7 @@ # # This kernel is NOT MEANT to be runnable! # -# $Id: LINT,v 1.110 1994/11/27 14:59:54 ats Exp $ +# $Id: LINT,v 1.111 1994/12/03 00:17:54 wollman Exp $ # # @@ -31,6 +31,14 @@ ident LINT # maxusers 10 +# +# Under some circumstances it is necessary to make the default max +# number of proccesses 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) +options "CHILD_MAX=128" +options "OPEN_MAX=128" + # # A math emulator is mandatory if you wish to run on hardware which # does not have a floating-point processor. Pick either the original, diff --git a/sys/i386/conf/LINT b/sys/i386/conf/LINT index c6ffc9baa1f2..f961b0a3b829 100644 --- a/sys/i386/conf/LINT +++ b/sys/i386/conf/LINT @@ -4,7 +4,7 @@ # # This kernel is NOT MEANT to be runnable! # -# $Id: LINT,v 1.110 1994/11/27 14:59:54 ats Exp $ +# $Id: LINT,v 1.111 1994/12/03 00:17:54 wollman Exp $ # # @@ -31,6 +31,14 @@ ident LINT # maxusers 10 +# +# Under some circumstances it is necessary to make the default max +# number of proccesses 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) +options "CHILD_MAX=128" +options "OPEN_MAX=128" + # # A math emulator is mandatory if you wish to run on hardware which # does not have a floating-point processor. Pick either the original, diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES index c6ffc9baa1f2..f961b0a3b829 100644 --- a/sys/i386/conf/NOTES +++ b/sys/i386/conf/NOTES @@ -4,7 +4,7 @@ # # This kernel is NOT MEANT to be runnable! # -# $Id: LINT,v 1.110 1994/11/27 14:59:54 ats Exp $ +# $Id: LINT,v 1.111 1994/12/03 00:17:54 wollman Exp $ # # @@ -31,6 +31,14 @@ ident LINT # maxusers 10 +# +# Under some circumstances it is necessary to make the default max +# number of proccesses 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) +options "CHILD_MAX=128" +options "OPEN_MAX=128" + # # A math emulator is mandatory if you wish to run on hardware which # does not have a floating-point processor. Pick either the original, diff --git a/sys/sys/syslimits.h b/sys/sys/syslimits.h index 2f381e01d3ec..2dc7a5bc3451 100644 --- a/sys/sys/syslimits.h +++ b/sys/sys/syslimits.h @@ -31,20 +31,24 @@ * SUCH DAMAGE. * * @(#)syslimits.h 8.1 (Berkeley) 6/2/93 - * $Id: syslimits.h,v 1.4 1994/08/08 09:12:43 davidg Exp $ + * $Id: syslimits.h,v 1.5 1994/08/21 04:41:59 paul Exp $ */ #ifndef _SYS_SYSLIMITS_H_ #define _SYS_SYSLIMITS_H_ #define ARG_MAX 65536 /* max bytes for an exec function */ +#ifndef CHILD_MAX #define CHILD_MAX 40 /* max simultaneous processes */ +#endif #define LINK_MAX 32767 /* max file link count */ #define MAX_CANON 255 /* max bytes in term canon input line */ #define MAX_INPUT 255 /* max bytes in terminal input */ #define NAME_MAX 255 /* max bytes in a file name */ #define NGROUPS_MAX 16 /* max supplemental group id's */ +#ifndef OPEN_MAX #define OPEN_MAX 64 /* max open files per process */ +#endif #define PATH_MAX 1024 /* max bytes in pathname */ #define PIPE_BUF 512 /* max bytes for atomic pipe writes */