From owner-freebsd-stable Fri Sep 4 13:45:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA00721 for freebsd-stable-outgoing; Fri, 4 Sep 1998 13:45:29 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from pop.uniserve.com (pop.uniserve.com [204.244.156.3]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA00702 for ; Fri, 4 Sep 1998 13:45:25 -0700 (PDT) (envelope-from tom@uniserve.com) Received: from shell.uniserve.ca [204.244.186.218] by pop.uniserve.com with smtp (Exim 1.82 #4) id 0zF2hw-0000Z1-00; Fri, 4 Sep 1998 13:43:48 -0700 Date: Fri, 4 Sep 1998 13:43:46 -0700 (PDT) From: Tom X-Sender: tom@shell.uniserve.ca To: The Hermit Hacker cc: Bob K , The Lab , freebsd-stable@FreeBSD.ORG Subject: Re: too many open files In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 4 Sep 1998, The Hermit Hacker wrote: > On Fri, 4 Sep 1998, Bob K wrote: > > > On Fri, 4 Sep 1998, The Hermit Hacker wrote: > > > > > On Fri, 4 Sep 1998, The Lab wrote: > > > > > > > > > > > I keep getting the "too many open files" message, but am unsure exactly > > > > how to reconfigure my kernel to compensate. Any suggestions? > > > > > > Actually, check the /etc/login.conf file and raise the limits for > > > the 'login group' that you are a member of...I'm not 100% certain whether > > > this is available on pre-3.0 systems though :( > > > > Another possibility (which was one I ran into just two days ago) is to > > raise the value of maxusers; the default is 10. I raised mine to 20, but > > it's a really low-powered system (486dx4/100, 24 megs of RAM) that only > > gets light usage. Most people suggested values in the 40-50 range for a > > single workstation running X. > > One requires a rebuild/reboot of the system...one doesn't. IN a > production environment, /etc/login.conf is about the only choice... Except you are talking about two different things. MAXUSERS controls the system wide file table. /etc/login.conf controls per-user file limits. You can increase the limits in /etc/login.conf all you want, but if the system wide table is full, you will still get "too many open files" errors. Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message