From owner-freebsd-stable Fri Sep 4 13:46:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA00977 for freebsd-stable-outgoing; Fri, 4 Sep 1998 13:46:14 -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 NAA00970 for ; Fri, 4 Sep 1998 13:46:09 -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 0zF2iz-0000dR-00; Fri, 4 Sep 1998 13:44:53 -0700 Date: Fri, 4 Sep 1998 13:44:51 -0700 (PDT) From: Tom X-Sender: tom@shell.uniserve.ca To: Christopher Knight cc: 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, Christopher Knight 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? > > I have the following script located in /usr/local/etc/rc.d/ > > #!/bin/sh > > /usr/sbin/sysctl -w kern.maxfiles=8192 > /usr/sbin/sysctl -w kern.maxvnodes=16384 > > > That takes care of my 'too many files open' problem. Just for "root". That increases the system file table. The per-user limits in /etc/login.conf still apply, unless you are root. > -ck > > ----------------------------------------------------------------------------- > Certainly the game is rigged. Don't let that stop you; if you don't > bet, you can't win. > -Lazarus Long > ----------------------------------------------------------------------------- Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message