Sidekiq terminates almost immediately after launch

90 views
Skip to first unread message

Mark Windrim

unread,
May 15, 2015, 8:50:16 AM5/15/15
to sid...@googlegroups.com
(Reposted as the original was difficult to read)

I've got Sidekiq running on a few systems and they're all running great.

I just spun up a new system, and am having an issue where Sidekiq terminates almost immediately after launch.  I found a few references regarding this 'task was terminated' on the net, but nothing that indicates why this is happening on this system.  Anyone have any suggestions?




2015-05-15T12:02:20.534Z 2252 TID-7gs5o INFO: Running in ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
2015-05-15T12:02:20.534Z 2252 TID-7gs5o INFO: See LICENSE and the LGPL-3.0 for licensing details.
2015-05-15T12:02:20.534Z 2252 TID-7gs5o INFO: Upgrade to Sidekiq Pro for more features and support: http://sidekiq.org/pro
2015-05-15T12:02:20.546Z 2252 TID-7gs5o INFO: Starting processing, hit Ctrl-C to stop
2015-05-15T12:02:35.149Z 2252 TID-hqj3k WARN: {:context=>"Launcher#run"}
2015-05-15T12:02:35.149Z 2252 TID-hqj3k WARN: task was terminated
2015-05-15T12:02:35.152Z 2252 TID-hqj3k WARN: /home/sidekiq/.rvm/gems/ruby-2.2.2/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:34:in `terminate'
/home/sidekiq/.rvm/gems/ruby-2.2.2/gems/celluloid-0.16.0/lib/celluloid/actor.rb:345:in `each'
/home/sidekiq/.rvm/gems/ruby-2.2.2/gems/celluloid-0.16.0/lib/celluloid/actor.rb:345:in `cleanup'
/home/sidekiq/.rvm/gems/ruby-2.2.2/gems/celluloid-0.16.0/lib/celluloid/actor.rb:329:in `shutdown'
/home/sidekiq/.rvm/gems/ruby-2.2.2/gems/celluloid-0.16.0/lib/celluloid/actor.rb:164:in `run'
/home/sidekiq/.rvm/gems/ruby-2.2.2/gems/celluloid-0.16.0/lib/celluloid/actor.rb:130:in `block in start'
/home/sidekiq/.rvm/gems/ruby-2.2.2/gems/celluloid-0.16.0/lib/celluloid/thread_handle.rb:13:in `block in initialize'
/home/sidekiq/.rvm/gems/ruby-2.2.2/gems/celluloid-0.16.0/lib/celluloid/actor_system.rb:32:in `block in get_thread'
/home/sidekiq/.rvm/gems/ruby-2.2.2/gems/celluloid-0.16.0/lib/celluloid/internal_pool.rb:130:in `call'
/home/sidekiq/.rvm/gems/ruby-2.2.2/gems/celluloid-0.16.0/lib/celluloid/internal_pool.rb:130:in `block in create'
/home/sidekiq/.rvm/gems/ruby-2.2.2/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `sleep': No live threads left. Deadlock? (fatal)
from /home/sidekiq/.rvm/gems/ruby-2.2.2/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `wait'
from /home/sidekiq/.rvm/gems/ruby-2.2.2/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `block in check'
from /home/sidekiq/.rvm/gems/ruby-2.2.2/gems/timers-4.0.1/lib/timers/wait.rb:14:in `for'
from /home/sidekiq/.rvm/gems/ruby-2.2.2/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:57:in `check'
from /home/sidekiq/.rvm/gems/ruby-2.2.2/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:75:in `block in receive'
from /home/sidekiq/.rvm/gems/ruby-2.2.2/gems/timers-4.0.1/lib/timers/wait.rb:14:in `for'
from /home/sidekiq/.rvm/gems/ruby-2.2.2/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:74:in `receive'
from /home/sidekiq/.rvm/gems/ruby-2.2.2/gems/celluloid-0.16.0/lib/celluloid/calls.rb:97:in `block in wait'
from /home/sidekiq/.rvm/gems/ruby-2.2.2/gems/celluloid-0.16.0/lib/celluloid/calls.rb:96:in `loop'
from /home/sidekiq/.rvm/gems/ruby-2.2.2/gems/celluloid-0.16.0/lib/celluloid/calls.rb:96:in `wait'
from /home/sidekiq/.rvm/gems/ruby-2.2.2/gems/celluloid-0.16.0/lib/celluloid.rb:116:in `suspend'
from /home/sidekiq/.rvm/gems/ruby-2.2.2/gems/celluloid-0.16.0/lib/celluloid/calls.rb:88:in `response'
from /home/sidekiq/.rvm/gems/ruby-2.2.2/gems/celluloid-0.16.0/lib/celluloid/calls.rb:92:in `value'
from /home/sidekiq/.rvm/gems/ruby-2.2.2/gems/celluloid-0.16.0/lib/celluloid/proxies/sync_proxy.rb:33:in `method_missing'
from /home/sidekiq/.rvm/gems/ruby-2.2.2/gems/sidekiq-3.3.4/lib/sidekiq/cli.rb:84:in `run'
from /home/sidekiq/.rvm/gems/ruby-2.2.2/gems/sidekiq-3.3.4/bin/sidekiq:8:in `<top (required)>'
from /home/sidekiq/.rvm/gems/ruby-2.2.2/bin/sidekiq:23:in `load'
from /home/sidekiq/.rvm/gems/ruby-2.2.2/bin/sidekiq:23:in `<main>'
from /home/sidekiq/.rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in `eval'
from /home/sidekiq/.rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:15:in `<main>'

Mark Windrim

unread,
May 15, 2015, 11:56:54 AM5/15/15
to sid...@googlegroups.com
Turns out to be something to do with Ruby 2.2.2.  I downgraded to 2.2.0 and everything is working fine.

Mike Perham

unread,
May 15, 2015, 12:01:03 PM5/15/15
to sid...@googlegroups.com
I've never even seen that error before, good job!  :-D

First issue looks suspicious.  Any gems you have using `autoload` are suspect.


--
You received this message because you are subscribed to the Google Groups "Sidekiq" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sidekiq+u...@googlegroups.com.
To post to this group, send email to sid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sidekiq/b286ca74-fb7a-45bd-8ae7-1e2c9f7300be%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Mike Perham – CEO, Contributed Systems
Smart, effective open source infrastructure for your apps.
Reply all
Reply to author
Forward
0 new messages