From owner-freebsd-questions Tue Feb 12 0: 1:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mobil.cz (diana.mobil.cz [195.39.16.12]) by hub.freebsd.org (Postfix) with ESMTP id 4A64737B81E for ; Mon, 11 Feb 2002 23:57:27 -0800 (PST) Received: from ester.mobil.cz (ester.mobil.cz [194.213.62.23]) by mobil.cz (8.11.6/8.11.0) with ESMTP id g1C7M7c29563 for ; Tue, 12 Feb 2002 08:22:07 +0100 Received: from roman.mobil.cz ([10.2.0.89]) by ester.mobil.cz (Lotus Domino Release 5.0.7) with ESMTP id 2002021208185438:2432 ; Tue, 12 Feb 2002 08:18:54 +0100 Received: (from roman@localhost) by roman.mobil.cz (8.11.6/8.11.6) id g1C7XfP53735 for questions@FreeBSD.ORG; Tue, 12 Feb 2002 08:33:41 +0100 (CET) (envelope-from neuhauser@mobil.cz) X-Authentication-Warning: roman.mobil.cz: roman set sender to neuhauser@mobil.cz using -f Date: Tue, 12 Feb 2002 08:33:41 +0100 From: Roman Neuhauser To: questions@freebsd.org Subject: Re: File descriptors Message-ID: <20020212073341.GJ19456@roman.mobil.cz> Mail-Followup-To: questions@FreeBSD.ORG References: <05256B5D.00648DAF.00@servidor1.wintersperu.com.pe> <3C67EDCE.17557.B0F9328@localhost> Mime-Version: 1.0 In-Reply-To: <3C67EDCE.17557.B0F9328@localhost> User-Agent: Mutt/1.3.26i X-MIMETrack: Itemize by SMTP Server on ester/Mobil(Release 5.0.7 |March 21, 2001) at 02/12/2002 08:18:54 AM, Serialize by Router on ester/Mobil(Release 5.0.7 |March 21, 2001) at 02/12/2002 08:19:00 AM, Serialize complete at 02/12/2002 08:19:00 AM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 > From: "Alvaro Rosales R." > To: Dan Nelson , questions@FreeBSD.ORG > Date: Mon, 11 Feb 2002 16:14:06 -0500 > Subject: Re: File descriptors please, don't top post. > > 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. > > Thank you , but is kern.maxfiles a file ???, how can I modify it > whith out recompiling my kernel?? it's not a file, it's a variable. see sysctl(8) -- FreeBSD 4.4-STABLE 8:32AM up 22 days, 14:55, 23 users, load averages: 0.03, 0.03, 0.00 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message