Messages in this thread |  | | From | Martin Mares <> | Subject | Re: How to increat [sic.] max open files - some answers | Date | Mon, 6 Jan 1997 16:05:54 +0100 (MET) |
| |
Hello, world!
> The problem is that if a program has an fd_set of 256 bits, the kernel > better not pass that process a file descriptor numbered 257 under > *any* circumstances! Hence, the kernel needs to know what the size > each process can handle, and all functions in libc which use select() > need to be able to deal with it.
Isn't it possible for the application to tell the kernel what max. # of fd's it can handle? Yes, it's a bit ugly, but it would work.
Martin
|  |