General

Profile

macks (Kengo Matsuyama)

  • Login: macks
  • Email: macksx@gmail.com
  • Registered on: 02/22/2009
  • Last sign in: 10/30/2023

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

03/31/2009

05:42 PM Ruby Bug #1338 (Closed): Kernel#select crashes when many files are opened
=begin
以下のコードがクラッシュします。

Process.setrlimit(Process::RLIMIT_NOFILE, 2048)
fd = 2000.times.map { open("/bin/ls") }
select([fd.last], [], [], 0)

添付したパッチで手元の環境では動くようになりましたが、
他の環境(win32 とか)での動作は分からないです。

また、具体的な再現コードは作れなかっ...
macks (Kengo Matsuyama)

Also available in: Atom