celluloid: "Couldn't cleanly terminate all actors in 10 seconds!" with Spring 1.6.0 and Rails 5.0.0.beta1
Rails 5.0.0.beta1 encourages you to mount the Celluloid-powered ActionCable.server
in-process by changing the routes.rb file to uncomment mount ActionCable.server => '/cable'
. When you do that, generator commands (that presumably do a fork somewhere) start hanging with the following error message: E, [2015-12-20T08:09:19.218168 #5720] ERROR -- : Couldn't cleanly terminate all actors in 10 seconds!
.
You can provoke this with:
rails new terminator
cd terminator
./bin/rails generate scaffold post title:string
If you remove the Spring loader from bin/rails, there is no problem.
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Reactions: 12
- Comments: 15 (5 by maintainers)
Commits related to this issue
- Bring back fix for #696 from #612, in new ::Group::* convention. — committed to celluloid/celluloid by digitalextremist 8 years ago
- Update celluloid dependency to address https://github.com/celluloid/celluloid/issues/696 — committed to launchdarkly/celluloid-eventsource by deleted user 7 years ago
- Update celluloid dependency to address https://github.com/celluloid/celluloid/issues/696 — committed to launchdarkly/celluloid-eventsource by deleted user 7 years ago
- Bring back fix for #696 from #612, in new ::Group::* convention. — committed to zsiddique/celluloid by digitalextremist 8 years ago
- Merge pull request #773 from myers/myers_take_on_pr763 Bring back fix for #696 from #612, in new ::Group::* convention. (take 2) — committed to celluloid/celluloid by tarcieri 6 years ago
- Remove celluloid dependency. https://github.com/celluloid/celluloid/issues/696 — committed to rohitjangid/sidekiq_remove_scheduled by rohitjangid 6 years ago
- use latest celluloid from github workaround for actor termination issue: https://github.com/celluloid/celluloid/issues/696 — committed to harvard-dce/mh-opsworks by lbjay 6 years ago
- devel/ruby-celluloid: update to 0.17.4 pkgsrc changes: add "USE_LANGUAGES= # none". 0.17.4 (2018-12-20) ----- * [#773](https://github.com/celluloid/celluloid/pull/773) Fix the errant 'Couldn't cle... — committed to NetBSD/pkgsrc by deleted user 5 years ago
@simonc I had the same issue. The
culture
folder is a git submodule so you have to tell bundler to load submodules withsubmodules: true
:Is there any workaroud in the meantime? It’s also happening with a Rails 4 app when Sidekiq is used. Every command takes ages to stop, even a simple
rake db:migrate
takes forever 😢@sfroehler Much better :grim: Thanks!