Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jan 1995 00:03:29 +0100 (MET)
From:      roberto@blaise.ibp.fr (Ollivier ROBERT)
To:        hackers@FreeBSD.org (Hackers' list FreeBSD)
Subject:   maxfiles again
Message-ID:  <9501112303.AA16831@blaise.ibp.fr>

next in thread | raw e-mail | index | archive | help
I've found that the patch to param.c (shown below) has changed the way maxfiles is
computed... And it is now set at 256 :-(((

Why the changes ??

RCS file: /spare/FreeBSD-current/src/sys/conf/param.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- 1.4 1994/09/13 14:46:24
+++ 1.5 1995/01/09 16:04:20
@@ -36,7 +36,7 @@
  * SUCH DAMAGE.
  *
  *     @(#)param.c     8.2 (Berkeley) 1/21/94
- * $Id: param.c,v 1.4 1994/09/13 14:46:24 dfr Exp $
+ * $Id: param.c,v 1.5 1995/01/09 16:04:20 davidg Exp $
  */
 
 #include <sys/param.h>
@@ -81,14 +81,9 @@
 int    tickadj = 30000 / (60 * HZ);            /* can adjust 30ms in 60s */
 struct timezone tz = { TIMEZONE, DST };
 #define        NPROC (20 + 16 * MAXUSERS)
-int    maxproc = NPROC;
-#define NTEXT NPROC
-int    vm_cache_max = NTEXT/2 + 16;
-#define        NVNODE (NPROC + NTEXT + 100)
-int    desiredvnodes = NVNODE;
-int    maxfiles = 3 * (NPROC + MAXUSERS) + 80;
-int    ncallout = 16 + NPROC;
-int    nclist = 60 + 12 * MAXUSERS;
+int    maxproc = NPROC;                        /* maximum # of processes */
+int    maxfiles = 256;                         /* open files per process limit 
*/
+int    ncallout = 16 + NPROC;                  /* maximum # of timer events */
 int    nmbclusters = NMBCLUSTERS;

-- 
Ollivier ROBERT     -=- The daemon is FREE! -=-     roberto@FreeBSD.ORG
      FreeBSD keltia 2.1.0-Development #2: Sat Jan  7 00:55:25 MET 1995



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9501112303.AA16831>