From owner-freebsd-questions@FreeBSD.ORG Sun Jan 2 09:19:16 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 9A7BC16A4CE for ; Sun, 2 Jan 2005 09:19:16 +0000 (GMT) Received: from mail.cypherpunks.to (pakastelohi.cypherpunks.to [82.94.251.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0904F43D41 for ; Sun, 2 Jan 2005 09:19:16 +0000 (GMT) (envelope-from shamrock@cypherpunks.to) X-PGP-Universal: processed; by keys.cypherpunks.to on Sun, 02 Jan 2005 01:19:13 -0800 From: "Lucky Green" To: Date: Sun, 2 Jan 2005 01:18:56 -0800 MIME-Version: 1.0 Thread-Index: AcTwrBVAgdDYLfRWReCR38UamQnQgg== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20050102091914.3D0B9114F1@mail.cypherpunks.to> Subject: 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 09:19:16 -0000 I=20am=20running=20FreeBSD=205.3=20on=20a=20dual=20CPU=20system=20with=20= 1=20GB=20of=20RAM=20with=20under=20a dozen=20of=20very=20active=20users=20and=20a=20few=20rather=20active=20pr= ocesses.=20The=20system keeps=20running=20out=20of=20FDs,=20causing=20any=20number=20of=20problem= s,=20such=20as=20preventing ssh=20logins. sysctl=20kern.maxfiles=20shows=20a=20maximum=20of=2012328=20FDs.=20My=20k= ernel=20config=20file=20has =22maxusers=22=20set=20to=200,=20which=20means=20the=20kern.maxfiles=20li= mit=20must=20be=20the=20OS default. What=20is=20the=20maximum=20number=20of=20FDs=20that=20can=20be=20set=20o= n=20a=20system=20with=201=20GB=20of RAM?=20What=20would=20it=20be=20for=202=20GB=20of=20RAM?=20In=20other=20w= ords,=20how=20many=20FDs=20can=20a FreeBSD=205.3=20system=20safely=20support=20for=20each=20GB=20of=20RAM? Thanks, --Lucky ________________________________________________________________ This=20email=20was=20not=20PGP=20encrypted.=20The=20next=20email=20can=20= be=20PGP=20encrypted, but=20for=20this=20to=20happen=20you=20need=20to=20first=20click=20on=20t= o=20the=20URL=20below: https://keys.cypherpunks.to/b/b.e?r=3Dfreebsd-questions=2540freebsd.org=26= n=3DIAwOVV4jo0Vi3U6uOkiaEA=253D=253D