Date: Sun, 2 Jan 2005 01:18:56 -0800 From: "Lucky Green" <shamrock@cypherpunks.to> To: <freebsd-questions@freebsd.org> Subject: kern.maxfiles formula? Message-ID: <20050102091914.3D0B9114F1@mail.cypherpunks.to>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050102091914.3D0B9114F1>