On Sep 13, 2008, at 10:44 AM, ara.t.howard wrote:
>
> i just releases version 0.0.4 of forkoff.  should not affect your  
> issue, but might want to install anyhow (just pushed to rubyforge -  
> might have to wait for it propagate or grab the gem from there  
> manually)

I just tested 0.0.4, and it seems to work just as well as threadify at  
keeping the file descriptors under control.

Using the same test code produces -

bradv:bvolz:$ ruby forkoff-test.rb
child   : 47335
filenos : [0, 1, 2, 4]
paths   : [nil, nil, nil, nil]

that was the first pass, and here is the last --

child   : 47600
filenos : [0, 1, 2, 3, 5]
paths   : [nil, nil, nil, nil, nil]
bradv:bvolz:$

Many thanks for your help and for releasing these gems to the public.

cheers!

Brad