From owner-freebsd-questions Mon Feb 11 9:54:38 2002 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 3F4BA37B402 for ; Mon, 11 Feb 2002 09:54:34 -0800 (PST) Received: (from dan@localhost) by dan.emsphone.com (8.11.6/8.11.6) id g1BHsTl71905; Mon, 11 Feb 2002 11:54:29 -0600 (CST) (envelope-from dan) Date: Mon, 11 Feb 2002 11:54:28 -0600 From: Dan Nelson To: "Alvaro Rosales R." Cc: questions@FreeBSD.ORG Subject: Re: File descriptors Message-ID: <20020211175428.GT44170@dan.emsphone.com> References: <3C67BB1A.18833.A4979A6@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C67BB1A.18833.A4979A6@localhost> User-Agent: Mutt/1.3.27i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Feb 11), Alvaro Rosales R. said: > Hi guys , Is there a way to know how many file descriptors I am > using? , I want to know if I am getting close to my limit, so I could > raise them before I get in trouble. "sysctl kern.openfiles" will list the current usage. kern.maxfiles is the limit, but it's a writable value, so you can raise it without rebooting. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message