Re: Problems raising fd limits in 1.3.78-1.3.80

David ``Joel Katz'' Schwartz (
Mon, 1 Apr 1996 20:48:44 -0500 (EST)

On Mon, 1 Apr 1996 wrote:

> It is not recommended to increase __FD_SET's size. Unfortunately,
> however large you make it, libc simply cannot cope with a select size
> larger than 256 fd's.

Libc doesn't have to do anything. I just need the fdset macros to
work and I need select to work.

> As for the other parameters, you don't need to recompile the kernel.
> In all post-1.3.57 kernels, you could achieve your inode and file
> limits by (as root):
> echo 4096 > /proc/sys/kernel/inode-max
> echo 2048 > /proc/sys/kernel/file-max

Yes, that does work. But without the 256 fds per process fix, I'm
still pretty much screwed. :(