From owner-freebsd-stable Fri Sep 4 13:56:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA02916 for freebsd-stable-outgoing; Fri, 4 Sep 1998 13:56:32 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from amber.ghostwheel.com (amber.ghostwheel.com [207.201.56.89]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA02911 for ; Fri, 4 Sep 1998 13:56:30 -0700 (PDT) (envelope-from merlin@ghostwheel.com) Received: from nimboko.ghostwheel.com (dialup-250.devnull.net [207.201.56.250]) by amber.ghostwheel.com (8.8.8/8.8.5) with SMTP id NAA09638; Fri, 4 Sep 1998 13:55:23 -0700 (PDT) Message-Id: <3.0.5.32.19980904135459.019ea7c0@pop.ghostwheel.com> X-Sender: merlin@pop.ghostwheel.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Fri, 04 Sep 1998 13:54:59 -0700 To: Tom From: Christopher Knight Subject: Re: too many open files Cc: freebsd-stable@FreeBSD.ORG In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 01:44 PM 9/4/98 -0700, Tom wrote: > >On Fri, 4 Sep 1998, Christopher Knight wrote: >> #!/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. And root processes. My system was bouncing mail and my webserver was crashing, while my messages log was filling with kernel errors about too many open files. This fixed my system-wide problem, which made me happy. Thank you for the clarification though. -ck To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message