> Basically, I need to deal with thousands of file
> descriptors, thousands of TCP connections, etc.
> I've compiled a kernel with modified values for
> FD_SETSIZE, NR_OPEN, OPEN_MAX, INR_OPEN, and NR_FILE.
You dont need to modify them, put them back or it may not work
> Does anyone know of a document explaining what network
> characteristics need to be changed and how to do it?
> If not, could you make some suggestions on where to start?
Typically:
Use ulimit to raise the number of file handles
Use poll not select (select has a max fd limit poll does not)
You may need to up the total max files/inodes via /proc/sys/
Consider setting the SOL_SOCKET, SO_RCVBUF and SOL_SOCKET, SO_SNDBUF lower
if you have a lot of relatively low bandwidth data sessions (eg 12-16K)
Alan
-
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:25 EST