From: Roger Pack Date: 2010-04-28T01:58:25+09:00 Subject: Re: Networking: select() blocks for seconds (> timeout) > All is perfect for several thousands of messages, until this: we receive > data (in the "else" branch) 5 seconds later; so, the select remained > blocked for 5 seconds without signaling the 50 msec timeout. Maybe it is doing DNS lookup. You could try BasicSocket.do_not_reverse_lookup=true -rp -- Posted via http://www.ruby-forum.com/.