Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Jan 2005 22:45:32 +0100
From:      Matthias Buelow <mkb@incubus.de>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: kern.maxfiles formula?
Message-ID:  <41D86B7C.3010202@incubus.de>
In-Reply-To: <20050102205701.GB42951@xor.obsecurity.org>
References:  <20050102091914.3D0B9114F1@mail.cypherpunks.to> <20050102101309.GA72018@xor.obsecurity.org> <41D838DF.4090106@incubus.de> <20050102205701.GB42951@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway wrote:

> Having a hard limit is by design, or users could run your machine out
> of memory and cause it to panic.

# sysctl -w kern.maxfiles=20000
kern.maxfiles: 12328 -> 20000

Ok, I agree. Must've confused something here. I was under the impression 
that it was fixed at boot. The user issue could be tackled with ulimit, 
however probably not in a completely satisfactory way (with resource 
limits being per-process, not per-user. Sometimes a bit of VMS would be 
nice ;).

mkb.



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