From owner-freebsd-questions Thu Aug 12 13:36:13 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id B1EA315889 for ; Thu, 12 Aug 1999 13:36:05 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id PAA73006; Thu, 12 Aug 1999 15:35:15 -0500 (CDT) (envelope-from dan) Date: Thu, 12 Aug 1999 15:35:15 -0500 From: Dan Nelson To: Mike Alich Cc: questions@FreeBSD.ORG Subject: Re: File Table Full Message-ID: <19990812153515.A72708@dan.emsphone.com> References: <37B31D59.3A39D3D2@cctinc.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <37B31D59.3A39D3D2@cctinc.net>; from "Mike Alich" on Thu Aug 12 15:15:37 GMT 1999 X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Aug 12), Mike Alich said: > Can anyone tell me how to increase the number of allowed files open in > the system? > > About every week or so I get an error "file: table is full" and it go > one for a few seconds to a few mins. How can I track down what is > causing this? I think it might be a run away cgi or something. "sysctl kern.maxfiles" will print the size of the file table. You can raise this at runtime by running "sysctl -w kern.maxfiles=10000" or whatever you want. You will probably want to recompile your kernel with a higher "maxusers" value, though (try using double the current value). "maxusers" affects some other variables that need to be raised for machines used as server. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message