From: Roger Pack Date: 2009-02-28T00:59:05+09:00 Subject: [ruby-core:22573] [Bug #670] select doesn't handle fd's > FD_SETSIZE very well Issue #670 has been updated by Roger Pack. Two things come to mind, if 4096 is not an acceptable option :) 1) check for fd number count before doing a select. If it's > FD_SETSIZE raise error. 2) A compromise, ex: setting FD_SETSIZE to 512, since that's the limit of MSVCRT 6, which is used by 99% of 1.8.x compilers. I put 4096 as a conservative number. Thanks for looking into this. -=r ---------------------------------------- http://redmine.ruby-lang.org/issues/show/670 ---------------------------------------- http://redmine.ruby-lang.org