From owner-freebsd-stable Tue Feb 29 8:39: 1 2000 Delivered-To: freebsd-stable@freebsd.org Received: from kci.kciLink.com (kci.kciLink.com [204.117.82.1]) by hub.freebsd.org (Postfix) with ESMTP id 218F937BBB7 for ; Tue, 29 Feb 2000 08:38:59 -0800 (PST) (envelope-from khera@kciLink.com) Received: from onceler.kcilink.com (onceler.kciLink.com [204.117.82.2]) by kci.kciLink.com (Postfix) with ESMTP id 4CE27E8AF; Tue, 29 Feb 2000 11:38:53 -0500 (EST) Received: (from khera@localhost) by onceler.kcilink.com (8.9.3/8.9.3) id LAA03063; Tue, 29 Feb 2000 11:38:53 -0500 (EST) (envelope-from khera@kci.kcilink.com) From: Vivek Khera MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14523.63005.58024.976749@onceler.kcilink.com> Date: Tue, 29 Feb 2000 11:38:53 -0500 (EST) To: "Sean O'Connell" Cc: FreeBSD-STABLE Subject: Re: Error: "Maximum file descriptors exceeded"... In-Reply-To: <20000229113443.F21891@stat.Duke.EDU> References: <38BBF0D3.6ED0DFD3@thehousleys.net> <20000229113443.F21891@stat.Duke.EDU> X-Mailer: VM 6.72 under 21.1 (patch 8) "Bryce Canyon" XEmacs Lucid Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "SO" == Sean O'Connell writes: SO> I thought this too, but if I run SO> sysctl -w kern.maxfiles=4096 SO> sysctl -w kern.maxfilesperproc=4096 SO> Now: SO> % sysctl kern.maxfiles SO> kern.maxfiles: 4096 SO> % sysctl kern.maxfilesperproc SO> kern.maxfilesperproc: 4096 SO> However, limit -h (tcsh builtin) and limits -H still report SO> descriptors 2088 SO> openfiles 2088 [ ... ] SO> Am I missing something obvious? Are these values really updated? Did you logout and back in? I don't think upping the system-wide limits will dynamically update the limits given to processes that are already started. Logging in again will cause your process (ie, the shell) to have its resource limits set to the current hard limits. ps: Go Duke!!! I really miss the place. ;-( -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D. Khera Communications, Inc. Internet: khera@kciLink.com Rockville, MD +1-301-545-6996 PGP & MIME spoken here http://www.kciLink.com/home/khera/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message