[ale] Open File Limit
Eric Z. Ayers
eric.ayers at mindspring.com
Sun Nov 14 18:08:59 EST 1999
In kernel 2.2.x, If you want to increast the total number of open
files in the system, you can do with w/o recompiling the kernel. We
upp'ed ours at work to 10,000 (we have about 50 users on the machine)
To see the limit
$ cat /proc/sys/fs/file-max
4096
to set the limit, you must be the root user:
# echo 10000 >/proc/sys/fs/file-max
# cat /proc/sys/fs/file-max
10000
Mandrake writes:
> On Sun, Nov 14, 1999 at 10:23:17AM -0500, Bob Kruger wrote:
> >
> > I would like to increase the number of files allowed open by Linux. The
> > machine that I want to do this on is running an AMD K2-450, 128M, using
> > kernel v2.2.13.
> >
> > Can anyone shed light on the file(s) that I need to modify to increase this
> > limit? Also, is there a known upper limit for intel based platforms?
>
> you'll need to edit linux/include/linux/posix_types.h
> up __FD_SETSIZE
>
> --
> (\) Mandrake (Geoff Harrison) (/) http://mandrake.net (\)
> (|) Senior Software Engineer VA Linux Labs (|) http://valinux.com (|)
> (/) Co-Author Enlightenment Window Manager (\) http://enlightenment.org (/)
> (|) Linux.com Advisory Board Member (|) http://linux.com (|)
More information about the Ale
mailing list