From owner-freebsd-questions Tue Apr 22 15:18:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA10639 for questions-outgoing; Tue, 22 Apr 1997 15:18:25 -0700 (PDT) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA10634 for ; Tue, 22 Apr 1997 15:18:22 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.6.12) with SMTP id PAA24452; Tue, 22 Apr 1997 15:18:19 -0700 (PDT) Date: Tue, 22 Apr 1997 15:18:19 -0700 (PDT) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: Robert Watson cc: questions@freebsd.org Subject: Re: File Table full In-Reply-To: <335CD09E.ADE05CAC@fledge.watson.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 22 Apr 1997, Robert Watson wrote: > Yesterday afternoon, I got this kernerl message/etc in my messages: > > Apr 21 12:08:56 fledge syslogd: /dev/console: Too many open files in > system: Too > many open files in system > Apr 21 12:08:56 fledge /kernel: file: table is full > Apr 21 12:09:18 fledge last message repeated 3 times > Apr 21 12:10:31 fledge last message repeated 3 times > Apr 21 12:16:55 fledge su: robert to root on /dev/ttyp2 > > I currently have maxusers=128 in my kernel config -- can I explicitely > increase file handles on the system, or should I just increase maxusers? > Does maxusers change the file descriptor table size? Not really. You want to probably tweak CHILD_MAX and OPEN_MAX. >From 2.2.1 LINT: # # 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 Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major