Open digitalextremist opened 10 years ago
See this thread for discussion of timeouts:
https://groups.google.com/forum/#!topic/celluloid-ruby/u35U3yUhTw0
tl;dr: all the prerequisites are there (and have been there for awhile), but getting everything wired up correctly has been an ongoing struggle
Thanks for the reference @tarcieri. I will move over to this after celluloid/celluloid#406 if it's not resolved by the time I finish that. It's critical path for me, so it'll be no problem to come in on it and help land this.
Now that there is the
TaskFiber.backtrace
option provided by @kenichi, I've been able to pinpoint whereReel
is holding open actors in pools of request handlers. It's here:This is likely an issue with
Celluloid::IO
streams, but it is most felt inReel
I believe.There needs to be the ability to provide a timeout so it eventually lets go of the socket, and releases actors handling requests back to their pool.