Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2002 08:33:41 +0100
From:      Roman Neuhauser <neuhauser@mobil.cz>
To:        questions@freebsd.org
Subject:   Re: File descriptors
Message-ID:  <20020212073341.GJ19456@roman.mobil.cz>
In-Reply-To: <3C67EDCE.17557.B0F9328@localhost>
References:  <05256B5D.00648DAF.00@servidor1.wintersperu.com.pe> <3C67EDCE.17557.B0F9328@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
> From: "Alvaro Rosales R." <aran80@wintersperu.com.pe>
> To: Dan Nelson <dnelson@allantgroup.com>, 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




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