首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Celluloid::DeadActorError:在vagrant中运行应用程序时尝试调用已死的actor

Celluloid::DeadActorError:在vagrant中运行应用程序时尝试调用已死的actor
EN

Stack Overflow用户
提问于 2016-01-03 16:35:30
回答 1查看 782关注 0票数 0

在我的rails应用程序中,我使用了以下gem:

代码语言:javascript
复制
gem "sidekiq-pro", "~> 2.1.3"
gem 'sidetiq', "~> 0.6.3", github: 'akhiln/sidetiq'

当我使用vagrant VM运行我的应用程序时,它返回以下错误:

代码语言:javascript
复制
2016-01-03T00:20:02.214Z 15814 TID-ouw1nsoe4 ERROR: Actor crashed!
Celluloid::DeadActorError: attempted to call a dead actor
    /home/vagrant/.gem/ruby/2.2.0/gems/celluloid-0.17.2/lib/celluloid/proxy/sync.rb:25:in `method_missing'
    /usr/lib/ruby/2.2.0/set.rb:308:in `delete'
    /usr/lib/ruby/2.2.0/set.rb:308:in `delete'
    /home/vagrant/.gem/ruby/2.2.0/gems/celluloid-pool-0.20.5/lib/celluloid/supervision/container/pool.rb:163:in `__crash_handler__'
    /home/vagrant/.gem/ruby/2.2.0/gems/celluloid-0.17.2/lib/celluloid/cell.rb:15:in `block in call'
    /home/vagrant/.gem/ruby/2.2.0/gems/celluloid-0.17.2/lib/celluloid/cell.rb:76:in `block in task'
    /home/vagrant/.gem/ruby/2.2.0/gems/celluloid-0.17.2/lib/celluloid/actor.rb:339:in `block in task'
    /home/vagrant/.gem/ruby/2.2.0/gems/celluloid-0.17.2/lib/celluloid/task.rb:44:in `block in initialize'
    /home/vagrant/.gem/ruby/2.2.0/gems/celluloid-0.17.2/lib/celluloid/task/fibered.rb:14:in `block in create'
2016-01-03T00:20:02.214Z 15814 TID-ouw1nsoe4 INFO: [Sidetiq] Sidetiq::Actor::Handler id: 70127320173720 shutting down …

当我正常启动服务器时,它可以正常工作。我该如何解决这个问题?

EN

回答 1

Stack Overflow用户

发布于 2016-01-03 17:44:59

页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/34574718

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档