Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2002 11:54:28 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        "Alvaro Rosales R." <aran80@wintersperu.com.pe>
Cc:        questions@FreeBSD.ORG
Subject:   Re: File descriptors
Message-ID:  <20020211175428.GT44170@dan.emsphone.com>
In-Reply-To: <3C67BB1A.18833.A4979A6@localhost>
References:  <3C67BB1A.18833.A4979A6@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020211175428.GT44170>