On Mon, Jun 12, 2000 at 12:52:05AM -0400, Lucius Chang wrote:
Basically, I need to deal with thousands of file
descriptors, thousands of TCP connections, etc.
If it really is thousands, use poll not select.
I've compiled a kernel with modified values for
FD_SETSIZE, NR_OPEN, OPEN_MAX, INR_OPEN, and NR_FILE.
You don't need to mess with these for 2.2.x and above, these are all
dynamic (except FD_SETSIZE, but that doesn't matter since you don't
want select anyhow).
Does anyone know of a document explaining what network
characteristics need to be changed and how to do it?
It should just work -- squid works with many file-descriptors for
example.
I wrote a detection system once that used about 80,000 FDs for lack
of anything better to do...
--cw
-
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/
This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:24 EST