Lee Chin wrote: > Now that I did this (ulimit -a) thing, I have a new > problem... when I am trying to select on more than > 1200 file descriptors (in the select system call), I > get a bad filedescriptor error... but when I do a > fstat on each filedescriptor I sent into select (using > FD_SET), I dont see that any filedescriptor is bad... > and from there, select just gets wegded... An "fd_set" only has room for 1024 descriptors. You will need to use poll() instead. -- Glynn Clements <glynn.clements@virgin.net> - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org