Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Sep 1999 19:35:37 -0700
From:      "David Schwartz" <davids@webmaster.com>
To:        "Kip Macy" <kip@lyris.com>, <freebsd-stable@freebsd.org>
Subject:   RE: kern.maxfiles and kern.maxfilesperproc
Message-ID:  <002501bf0310$d2700520$021d85d1@youwant.to>
In-Reply-To: <Pine.SOL.4.05.9909191513220.24965-100000@luna>

next in thread | previous in thread | raw e-mail | index | archive | help

> Is kern.maxfiles the total number of files that can be open on the system
> at one time? If so it seems very silly that by default it is the same
> number as kern.maxfilesperproc -- meaning that any process can use up the
> total number of files available to the system.
> Thanks.
>
> 					-Kip

	These are the default values for maximums. They're not intended to protect
your system against resource starvation by a malicious process (since they
apply to root as well as normal users).

	And actually, it makes a lot of sense. It's not unusual for a server to
really only have one process or set of processes that you care about. For
example, for a web server, all you really care about is Apache. For an SMB
file server, Samba. So it's reasonable that the two limits be similar.

	DS



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002501bf0310$d2700520$021d85d1>