From owner-freebsd-questions@FreeBSD.ORG Sun Jan 2 21:45:07 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DBC416A4CE for ; Sun, 2 Jan 2005 21:45:07 +0000 (GMT) Received: from luzifer.incubus.de (incubus.de [80.237.207.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A3E043D1F for ; Sun, 2 Jan 2005 21:45:06 +0000 (GMT) (envelope-from mkb@incubus.de) Received: from [192.168.2.10] (pD9E689E8.dip.t-dialin.net [217.230.137.232]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by luzifer.incubus.de (Postfix) with ESMTP id 7B28E2E8FB; Sun, 2 Jan 2005 22:45:01 +0100 (CET) Message-ID: <41D86B7C.3010202@incubus.de> Date: Sun, 02 Jan 2005 22:45:32 +0100 From: Matthias Buelow User-Agent: Mozilla Thunderbird 0.9 (X11/20041124) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <20050102091914.3D0B9114F1@mail.cypherpunks.to> <20050102101309.GA72018@xor.obsecurity.org> <41D838DF.4090106@incubus.de> <20050102205701.GB42951@xor.obsecurity.org> In-Reply-To: <20050102205701.GB42951@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: kern.maxfiles formula? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jan 2005 21:45:07 -0000 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.