4.2 distribution
[unix-history] / usr / src / sys / conf / param.c
index b4bd83c..418fb9c 100644 (file)
@@ -1,4 +1,4 @@
-/*     param.c 4.16    82/11/15        */
+/*     param.c 6.1     83/07/29        */
 
 #include "../h/param.h"
 #include "../h/systm.h"
 
 #include "../h/param.h"
 #include "../h/systm.h"
@@ -31,9 +31,14 @@ int  tick = 1000000 / HZ;
 struct timezone tz = { TIMEZONE, DST };
 #define        NPROC (20 + 8 * MAXUSERS)
 int    nproc = NPROC;
 struct timezone tz = { TIMEZONE, DST };
 #define        NPROC (20 + 8 * MAXUSERS)
 int    nproc = NPROC;
-int    ntext = 24 + MAXUSERS;
+#ifdef INET
+#define        NETSLOP 20                      /* for all the lousy servers*/
+#else
+#define        NETSLOP 0
+#endif
+int    ntext = 24 + MAXUSERS + NETSLOP;
 int    ninode = (NPROC + 16 + MAXUSERS) + 32;
 int    ninode = (NPROC + 16 + MAXUSERS) + 32;
-int    nfile = 16 * (NPROC + 16 + MAXUSERS) / 10 + 32;
+int    nfile = 16 * (NPROC + 16 + MAXUSERS) / 10 + 32 + 2 * NETSLOP;
 int    ncallout = 16 + NPROC;
 int    nclist = 100 + 16 * MAXUSERS;
 int    nport = NPROC / 2;
 int    ncallout = 16 + NPROC;
 int    nclist = 100 + 16 * MAXUSERS;
 int    nport = NPROC / 2;