*BSD News Article 17579


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!wupost!bigboy.sbc.com!news.mtholyoke.edu!news.smith.edu!sophia.smith.edu!jfieber
From: jfieber@sophia.smith.edu (J Fieber)
Subject: Re: How to increase # of allowable open files at a time for GCC?
Message-ID: <1993Jun27.215413.815@sophia.smith.edu>
Keywords: GCC files
Sender: root@sophia.smith.edu (Operator)
Organization: Smith College
References: <C9Ao9K.EqD@undergrad.math.uwaterloo.ca>
Date: Sun, 27 Jun 1993 21:54:13 GMT
Lines: 26

In article <C9Ao9K.EqD@undergrad.math.uwaterloo.ca> th2tran@undergrad.math.uwaterloo.ca (Thanh Hai Tran) writes:
>Does anyone out there know how I can make 386BSD allow more files to be opened
>at a time? (sort of an equivalence of FILES = xx in DOS CONFIG.SYS file)
>Your help will be very much appreciated!...Thanks!

In the configuration file for your kernel (/src/i386/conf/<your-system>)
there is a parameter "maxusers".  Though this does not enforce
the number of people that log in at one time, it is used to
calculate the sizes for lots of things such as the number files
that can be active at one time.  

According to the docs I have handy the value is:
  
   (nproc + 16 + maxusers) + 32

where nproc is:

   20 + 8 * maxusers

So, check to see what your maxusers is set at and try increasing
it.

-john
-- 
=== jfieber@sophia.smith.edu ================================================
=== 42 19 30 N    72 38 30 W ========== Come up and be a kite!  --K. Bush ===