Re: Increasing file descriptors - kernel 2.2.5

Stephen C. Tweedie (sct@redhat.com)
Wed, 21 Apr 1999 00:07:29 +0100 (BST)


Hi,

On Sat, 17 Apr 1999 13:33:19 -0000, "Irfan Akber" <irfan@inet.com.pk>
said:

> By default kernel 2.2.5 has 1024 file descriptor limit. How do I increase
> it to 4096. Would modifying the source be OK or should it be patched.

You'll need to be running either one of the Alan Cox kernels, or a
kernel with the fdset patch from

ftp://ftp.uk.linux.org/pub/linux/sct/fs/bigfd/

Then all you need to do to turn more fds is to increase the open-file
rlimit for the processes you want (use "ulimit" in bash, for example).

--Stephen
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu