Open promix17 opened 8 years ago
I vaguely recall this one. Have you happened to try the 0.6.0-milestone
branch?
Still seeing this with 6.1.
Initializing the reel server with super and a Reel::Server::HTTP class. Similar as to above.
E, [2017-01-31T11:48:17.635000 #64215] ERROR -- : CLEANUP CRASHED! IOError: closed stream org/nio4r/Selector.java:123:in 'deregister' org/nio4r/Monitor.java:154:in 'close' org/nio4r/Monitor.java:145:in 'close' /jruby-9.1.6.0/gems/celluloid-io-0.17.3/lib/celluloid/io/reactor.rb:52:in 'wait' /jruby-9.1.6.0/gems/celluloid-io-0.17.3/lib/celluloid/io/reactor.rb:21:in 'wait_readable' /jruby-9.1.6.0/gems/celluloid-io-0.17.3/lib/celluloid/io.rb:54:in 'wait_readable' /jruby-9.1.6.0/gems/celluloid-io-0.17.3/lib/celluloid/io/tcp_server.rb:36:in 'accept' /jruby-9.1.6.0/gems/reel-0.6.1/lib/reel/server.rb:38:in 'block in run' org/jruby/RubyKernel.java:1299:in 'loop' /jruby-9.1.6.0/gems/reel-0.6.1/lib/reel/server.rb:38:in 'run' org/jruby/RubyKernel.java:1811:in 'public_send' /jruby-9.1.6.0/gems/celluloid-0.17.3/lib/celluloid/calls.rb:28:in 'dispatch' /jruby-9.1.6.0/gems/celluloid-0.17.3/lib/celluloid/call/async.rb:7:in 'dispatch' /jruby-9.1.6.0/gems/celluloid-0.17.3/lib/celluloid/cell.rb:50:in 'block in dispatch' /jruby-9.1.6.0/gems/celluloid-0.17.3/lib/celluloid/cell.rb:76:in 'block in task' /jruby-9.1.6.0/gems/celluloid-0.17.3/lib/celluloid/actor.rb:339:in 'block in task' /jruby-9.1.6.0/gems/celluloid-0.17.3/lib/celluloid/task.rb:44:in 'block in initialize' /jruby-9.1.6.0/gems/celluloid-0.17.3/lib/celluloid/task/fibered.rb:14:in 'block in create'
Getting one error message on program exit for every time the server is shutdown.
I've submitted a fix.
Hey @chewi is there a build, or branch I can build to take a look at your fix?
See #240.
Reel::Server shutdown does not handle IOError
https://github.com/celluloid/reel/blob/master/lib/reel/server.rb
Example
Gems