Increasing files per process limit

Michael McLagan (Michael.McLagan@linux.org)
Fri, 16 Oct 1998 01:16:05 -0400 (EDT)


Hi,

I may have gone about this the wrong way, but what I did was change the
values of __FDSETSIZE and NR_OPEN (why these two values are inter-related but
defined seperately is kinda beyond me, I only found the FDSETSIZE thing by
reading the kernel code when the system didn't boot at all, init started
complaining about get_unused_fd and I traced it backwards to the FDSETSIZE --
Linus, maybe a comment about it in include/linux/fs.h ?) to 2048, updated the
total files and total inode values.

The new kernel booted, and mysql seems to be happy and isnt running out of
file descriptors now. Unfortunately, several other programs are not too
happy, portmap, rpc.nfsd, rpc.mountd, rxvt being some of them. I have 2
questions.

Is there anything else I need to change to make this happen?

What can I do about the applications that wont run?

Mike was here...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/