Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Sep 1998 14:28:05 +0100
From:      mike@sentex.net
To:        The Lab <thelab@nmarcom.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: too many open files
Message-ID:  <3.0.5.32.19980904142805.00926400@staff.sentex.ca>
In-Reply-To: <Pine.BSF.3.96.980904132246.3680A-100000@feoh.nmarcom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 01:23 PM 9/4/98 -0400, you wrote:
>
>I keep getting the "too many open files" message, but am unsure exactly
>how to reconfigure my kernel to compensate. Any suggestions?

To increase the global amount, adjust the maxusers paramater.  i.e. 
maxusers        64
or
maxusers        128


or as explained in the LINT file
# Under some circumstances it is convenient to increase the defaults
# for the maximum number of processes per user and the maximum number
# of open files files per user.  E.g., (1) in a large news server, user
# `news' may need more than 100 concurrent processes.  (2) a user may
# need lots of windows under X.  In both cases, it may be inconvenient
# to start all the processes from a parent whose soft rlimit on the
# number of processes is large enough.  The following options work by
# changing the soft rlimits for init.
#
options         CHILD_MAX=128
options         OPEN_MAX=128


Also, check login.conf if its just a particular user issue.  Questions like
this should go to questions@freebsd.org, not stable.  

	---Mike
------------------------------------------------------------------------
Mike Tancsa,                          tel 01.519.651.3400
Network Administrator,                noc@sentex.net
Sentex Communications                 www.sentex.net
Cambridge, Ontario Canada

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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