Skip to content

Instantly share code, notes, and snippets.

@barttenbrinke
Created May 2, 2013 21:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save barttenbrinke/5505525 to your computer and use it in GitHub Desktop.
Save barttenbrinke/5505525 to your computer and use it in GitHub Desktop.
Unicorn Ruby 2.0.0 Rails 4.0.0.rc1 threading issue on Heroku.
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/thread.rb:72:in `sleep': No live threads left. Deadlock? from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/thread.rb:72:in `block (2 levels) in wait'
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/thread.rb:68:in `block in wait'
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/thread.rb:66:in `handle_interrupt'
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/thread.rb:66:in `wait'
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/thread.rb:188:in `block in pop'
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/thread.rb:187:in `handle_interrupt'
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/thread.rb:187:in `pop'
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/thread.rb:335:in `pop'
/app/vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0.rc1/lib/action_controller/metal/live.rb:51:in `each'
/app/vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0.rc1/lib/action_dispatch/http/response.rb:42:in `each'
/app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/body_proxy.rb:31:in `each'
/app/vendor/bundle/ruby/2.0.0/gems/unicorn-4.6.2/lib/unicorn/http_response.rb:60:in `http_response_write'
/app/vendor/bundle/ruby/2.0.0/gems/unicorn-4.6.2/lib/unicorn/http_server.rb:500:in `spawn_missing_workers'
/app/vendor/bundle/ruby/2.0.0/gems/unicorn-4.6.2/lib/unicorn/http_server.rb:142:in `start'
/app/vendor/bundle/ruby/2.0.0/gems/unicorn-4.6.2/bin/unicorn:126:in `<top (required)>'
/app/vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `load'
/app/vendor/bundle/ruby/2.0.0/bin/unicorn:23:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment