From: fkattan@... Date: 2007-07-28T05:44:58+09:00 Subject: DRb throws Errno::EMFILE "Too many open files" with 256 connections Hi, I have a ruby / DRb process that is quiting with Errno::EMFILE every time it reaches 256 connections. This happens regardless of what I set in ulimit -n and only on Solaris. /opt/csw/lib/ruby/1.8/drb/drb.rb:944:in `accept': Too many open files (Errno::EMFILE) from /opt/csw/lib/ruby/1.8/drb/drb.rb:944:in `accept' from /opt/csw/lib/ruby/1.8/drb/drb.rb:1581:in `main_loop' from /opt/csw/lib/ruby/1.8/drb/drb.rb:1430:in `run' from /opt/csw/lib/ruby/1.8/drb/drb.rb:1427:in `start' from /opt/csw/lib/ruby/1.8/drb/drb.rb:1427:in `run' from /opt/csw/lib/ruby/1.8/drb/drb.rb:1347:in `initialize' from /opt/csw/lib/ruby/1.8/drb/drb.rb:1627:in `new' from /opt/csw/lib/ruby/1.8/drb/drb.rb:1627:in `start_service' from ./tuple_space.sh:10 I also tried this test both in OSX and Solaris: 255.times {a<