celluloid / celluloid-io

UNMAINTAINED: See celluloid/celluloid#779 - Evented sockets for Celluloid actors
https://celluloid.io
MIT License
879 stars 93 forks source link

Strange pool behavior on Ruby 2.1 and JRuby 1.7 #120

Closed bbozo closed 9 years ago

bbozo commented 9 years ago

In short,

when it's ran within an actor in a pool then Celluloid::IO::TCPSocket starts to block,

here's simple gist to reproduce the issue + a tiny node server who waits a second before response and counts connections

https://gist.github.com/bbozo/0c55f168e4fe6fb021fd

it seems related to #95 but there's no crash and it involves other Ruby versions, so I'll open a new issue for now

tarcieri commented 9 years ago

Pools aren't intended to be used with Celluloid::IO actors like that