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 am running FreeBSD 5.3 on a dual CPU system with 1 GB of RAM with under a dozen of very active users and a few rather active processes. The system keeps running out of FDs, causing any number of problems, such as preventing ssh logins. sysctl kern.maxfiles shows a maximum of 12328 FDs. My kernel config file has "maxusers" set to 0, which means the kern.maxfiles limit must be the OS default. What is the maximum number of FDs that can be set on a system with 1 GB of RAM? What would it be for 2 GB of RAM? In other words, how many FDs can a FreeBSD 5.3 system safely support for each GB of RAM? Thanks, --Lucky ________________________________________________________________ This email was not PGP encrypted. The next email can be PGP encrypted, but for this to happen you need to first click on to the URL below: https://keys.cypherpunks.to/b/b.e?r=freebsd-questions%40freebsd.org&n=IAwOVV4jo0Vi3U6uOkiaEA%3D%3D
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050102091914.3D0B9114F1>
