链接: http://lxr.free-electrons.com/source/fs/select.c #define __FD_SETSIZE 1024 如果需要超过1024,就需要修改内核代码,重新编译了。