From owner-freebsd-questions Fri Sep 4 11:18:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA04270 for freebsd-questions-outgoing; Fri, 4 Sep 1998 11:18:37 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from granite.sentex.net (granite.sentex.ca [199.212.134.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA04261 for ; Fri, 4 Sep 1998 11:18:28 -0700 (PDT) (envelope-from mike@sentex.net) From: mike@sentex.net Received: from newmarble.sentex.ca (newmarble.sentex.ca [209.112.4.10]) by granite.sentex.net (8.8.6/8.6.9) with ESMTP id OAA15262; Fri, 4 Sep 1998 14:17:14 -0400 (EDT) Received: from leaverite (leaverite.sentex.ca [209.112.4.36]) by newmarble.sentex.ca (8.8.8/8.8.8) with SMTP id OAA15787; Fri, 4 Sep 1998 14:17:16 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <3.0.5.32.19980904142805.00926400@staff.sentex.ca> X-Sender: mdtpop@staff.sentex.ca X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Fri, 04 Sep 1998 14:28:05 +0100 To: The Lab Subject: Re: too many open files Cc: questions@FreeBSD.ORG In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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