From owner-freebsd-stable Tue Feb 29 8:46:55 2000 Delivered-To: freebsd-stable@freebsd.org Received: from isds.duke.edu (davinci.isds.duke.edu [152.3.22.1]) by hub.freebsd.org (Postfix) with ESMTP id 44FC237BBE0 for ; Tue, 29 Feb 2000 08:46:52 -0800 (PST) (envelope-from sto@stat.Duke.EDU) Received: from cayenne.isds.duke.edu (cayenne.isds.duke.edu [152.3.22.11]) by isds.duke.edu (8.8.8/8.8.8) with ESMTP id LAA17410 for ; Tue, 29 Feb 2000 11:46:51 -0500 (EST) Received: (from sto@localhost) by cayenne.isds.duke.edu (8.8.8/8.8.8) id LAA24202 for stable@FreeBSD.ORG; Tue, 29 Feb 2000 11:46:51 -0500 (EST) Date: Tue, 29 Feb 2000 11:46:51 -0500 From: "Sean O'Connell" To: FreeBSD-STABLE Subject: Re: Error: "Maximum file descriptors exceeded"... Message-ID: <20000229114651.G21891@stat.Duke.EDU> Reply-To: "Sean O'Connell" Mail-Followup-To: FreeBSD-STABLE References: <38BBF0D3.6ED0DFD3@thehousleys.net> <20000229113443.F21891@stat.Duke.EDU> <14523.63005.58024.976749@onceler.kcilink.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <14523.63005.58024.976749@onceler.kcilink.com>; from khera@kciLink.com on Tue, Feb 29, 2000 at 11:38:53AM -0500 X-Organization: Institute of Statistics and Decision Sciences Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Vivek Khera stated: > >>>>> "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- D'oh. Sean gets the proverbial pointy hat on that. I did a login from an xterm -ls and it worked. I have too many open windows at the moment. So for the matter at hand, I would suppose that stopping and restarting innd would be all that is needed. S PS. And to think I give people a "hard time" about group membership and the need to logout and log back in. ----------------------------------------------------------------------- Sean O'Connell Email: sean@stat.Duke.EDU Institute of Statistics and Decision Sciences Phone: (919) 684-5419 Duke University Fax: (919) 684-8594 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message