diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 1999-04-09 16:28:11 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 1999-04-09 16:28:11 +0000 |
| commit | 5a00f36414226a390bba7ec95705045a57393720 (patch) | |
| tree | 4c673bfd1163956aa155296f130731f2e556d0bd /sys/kern/subr_param.c | |
| parent | 8b220a611d5f0fdbffd638eadf0f7dd836712b9b (diff) | |
Notes
Diffstat (limited to 'sys/kern/subr_param.c')
| -rw-r--r-- | sys/kern/subr_param.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c index ef98c59c6e25..ce003d93476c 100644 --- a/sys/kern/subr_param.c +++ b/sys/kern/subr_param.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)param.c 8.3 (Berkeley) 8/20/94 - * $Id: param.c,v 1.31 1998/11/05 14:28:17 dg Exp $ + * $Id: param.c,v 1.32 1998/12/14 08:34:54 dillon Exp $ */ #include <stddef.h> @@ -74,7 +74,9 @@ int hz = HZ; int tick = 1000000 / HZ; int tickadj = howmany(30000, 60 * HZ); /* can adjust 30ms in 60s */ #define NPROC (20 + 16 * MAXUSERS) +#ifndef MAXFILES #define MAXFILES (NPROC*2) +#endif int maxproc = NPROC; /* maximum # of processes */ int maxprocperuid = NPROC-1; /* maximum # of processes per user */ int maxfiles = MAXFILES; /* system wide open files limit */ |
