bloom-lang / bud

Prototype Bud runtime (Bloom Under Development)
http://bloom-lang.net
Other
854 stars 59 forks source link

vis tracing exhausts open file handles #189

Closed jhellerstein closed 13 years ago

jhellerstein commented 13 years ago

Running vis tracing on 4 Chord nodes in one process produces the following.


  1) Error:
test_join(TestFind):
Errno::EMFILE: Too many open files - DBM_LilChordClass_node12343_2196519700_/bud_/finder__find_resp_snd_vizlog.dbm
    /Library/Ruby/Gems/1.8/gems/bud-0.0.4/lib/bud/storage/dbm.rb:28:in `open'
    /Library/Ruby/Gems/1.8/gems/bud-0.0.4/lib/bud/storage/dbm.rb:28:in `initialize'
    /Library/Ruby/Gems/1.8/gems/bud-0.0.4/lib/bud/viz.rb:52:in `new'
    /Library/Ruby/Gems/1.8/gems/bud-0.0.4/lib/bud/viz.rb:52:in `new_tab'
    /Library/Ruby/Gems/1.8/gems/bud-0.0.4/lib/bud/viz.rb:44:in `initialize'
    /Library/Ruby/Gems/1.8/gems/bud-0.0.4/lib/bud/viz.rb:29:in `each'
    /Library/Ruby/Gems/1.8/gems/bud-0.0.4/lib/bud/viz.rb:29:in `initialize'
    /Library/Ruby/Gems/1.8/gems/bud-0.0.4/lib/bud.rb:130:in `new'
    /Library/Ruby/Gems/1.8/gems/bud-0.0.4/lib/bud.rb:130:in `initialize'
    test/tc_chord.rb:39:in `initialize'
    test/tc_chord.rb:118:in `new'
    test/tc_chord.rb:118:in `test_join'
    test/tc_chord.rb:117:in `map'
    test/tc_chord.rb:117:in `test_join'