Use Celluloid 0.16.0 until termination issue in 0.17.0 is resolved #37
Conversation
Use Celluloid 0.16.0 until termination issue in 0.17.0 is resolved
Please retest this, as Celluloid |
The cited case was an interaction with |
Thanks @digitalextremist, it is indeed a Spring issue. With Spring: $ time rails runner 'puts "Celluloid @ #{Celluloid::VERSION}, Spring @ #{defined?(Spring) ? Spring::VERSION : "-"}"'
Celluloid @ 0.17.1.1, Spring @ 1.3.6
E, [2015-08-08T17:07:41.282774 #4999] ERROR -- : Couldn't cleanly terminate all actors in 10 seconds!
real 0m18.557s
user 0m0.117s
sys 0m0.036s Without Spring: $ time rails runner 'puts "Celluloid @ #{Celluloid::VERSION}, Spring @ #{defined?(Spring) ? Spring::VERSION : "-"}"'
Celluloid @ 0.17.1.1, Spring @ -
real 0m7.052s
user 0m5.893s
sys 0m1.006s @jonleighton @jeremy any idea how we might fix this up? |
time rails r 'puts "Celluloid @ #{Celluloid::VERSION}, Spring @ #{defined?(Spring) ? Spring::VERSION : "-"}"'
Celluloid @ 0.17.2, Spring @ 1.4.0
real 0m0.654s
user 0m0.408s
sys 0m0.036s time rails r 'puts "Celluloid @ #{Celluloid::VERSION}, Spring @ #{defined?(Spring) ? Spring::VERSION : "-"}"'
I, [2015-10-14T21:41:51.180579 #24031] INFO -- : Celluloid 0.17.2 is running in BACKPORTED mode. [ http://git.io/vJf3J ]
Celluloid @ 0.17.2, Spring @ -
real 0m1.967s
user 0m1.670s
sys 0m0.168s Looks like this issue is fixed with celluloid 0.17.2 and Spring 1.4.0 |
Still broken here:
|
What's the rest of your bundle look like? There might be something else causing issues? What happens if you remove Spring? |
I'm running with https://github.com/jonleighton/spring-watcher-listen, but with listen 3.0.3 which no longer uses Celluloid, and sucker_punch master, which just switched to 0.17.2. |
Same deal with sucker_punch disabled. |
Scratch that: with sucker_punch disabled… and stopping spring, oops… I get quick shutdown.
|
So what's the verdict? Celluloid 0.17.2 and Spring 1.4.0, still a conflict or no? Any compelling reason to not upgrade to 0.17.2? Would be helpful if it was possible to say 0.16.0 or >= 0.17.2 and let people pick a Celluloid version for themselves, but the gemspec doesn't want to work that way. alas. |
Unclear yet. Other libs haven't upgraded to 0.17.x for the same reasons as us, so upgrading puts apps in a tough spot. We could do something like a '>= 0.16.0' dep and warn on known-problematic version numbers… |
The issue: celluloid/celluloid#637
The issue in action:
Which causes a 10 second hang before exiting.