Skip to content

Instantly share code, notes, and snippets.

@danmaclean
Created April 23, 2013 14:48
Show Gist options
  • Save danmaclean/5444177 to your computer and use it in GitHub Desktop.
Save danmaclean/5444177 to your computer and use it in GitHub Desktop.
fragment of foreman startup falling over at sidekiq startup
macleand$ foreman s
15:43:33 web.1 | started with pid 36997
15:43:33 worker.1 | started with pid 36998
15:43:36 worker.1 | DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /Users/macleand/Downloads/gee_fu-experimental-8/config/environment.rb:5)
15:43:36 web.1 | DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /Users/macleand/Downloads/gee_fu-experimental-8/config/environment.rb:5)
15:43:37 worker.1 | /Users/macleand/Downloads/gee_fu-experimental-8/config/initializers/rails2314_ruby193_monkey_patches.rb:26: warning: already initialized constant HALF_DAYS_IN_DAY
15:43:38 web.1 | /Users/macleand/Downloads/gee_fu-experimental-8/config/initializers/rails2314_ruby193_monkey_patches.rb:26: warning: already initialized constant HALF_DAYS_IN_DAY
15:43:38 web.1 | listening on addr=0.0.0.0:3000 fd=12
15:43:38 web.1 | worker=0 spawning...
15:43:38 web.1 | => Booting Unicorn
15:43:38 web.1 | => Rails 3.2.13 application starting in development on http://0.0.0.0:3000
15:43:38 web.1 | => Call with -d to detach
15:43:38 web.1 | => Ctrl-C to shutdown server
15:43:38 web.1 | master process ready
15:43:38 web.1 | worker=0 spawned pid=37001
15:43:38 web.1 | worker=0 ready
15:43:38 worker.1 | 2013-04-23T14:43:38Z 36998 TID-ovs76ao64 INFO: Booting Sidekiq 2.10.1 using redis://localhost:6379/0 with options {}
15:43:38 worker.1 | 2013-04-23T14:43:38Z 36998 TID-ovs76ao64 INFO: Running in ruby 1.9.3p286 (2012-10-12 revision 37165) [x86_64-darwin12.3.0]
15:43:38 worker.1 | 2013-04-23T14:43:38Z 36998 TID-ovs76ao64 INFO: See LICENSE and the LGPL-3.0 for licensing details.
15:43:38 worker.1 | Error connecting to Redis on localhost:6379 (ECONNREFUSED)
15:43:38 worker.1 | /Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/redis-3.0.3/lib/redis/client.rb:276:in `rescue in establish_connection'
15:43:38 worker.1 | /Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/redis-3.0.3/lib/redis/client.rb:271:in `establish_connection'
15:43:38 worker.1 | /Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/redis-3.0.3/lib/redis/client.rb:69:in `connect'
15:43:38 worker.1 | /Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/redis-3.0.3/lib/redis/client.rb:290:in `ensure_connected'
15:43:38 worker.1 | /Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/redis-3.0.3/lib/redis/client.rb:177:in `block in process'
15:43:38 worker.1 | /Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/redis-3.0.3/lib/redis/client.rb:256:in `logging'
15:43:38 worker.1 | /Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/redis-3.0.3/lib/redis/client.rb:176:in `process'
15:43:38 worker.1 | /Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/redis-3.0.3/lib/redis/client.rb:84:in `call'
15:43:38 worker.1 | /Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/redis-3.0.3/lib/redis.rb:410:in `block in keys'
15:43:38 worker.1 | /Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/redis-3.0.3/lib/redis.rb:36:in `block in synchronize'
15:43:38 worker.1 | /Users/macleand/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
15:43:38 worker.1 | /Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/redis-3.0.3/lib/redis.rb:36:in `synchronize'
15:43:38 worker.1 | /Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/redis-3.0.3/lib/redis.rb:409:in `keys'
15:43:38 worker.1 | /Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/sidekiq-2.10.1/lib/sidekiq/api.rb:64:in `block in cleanup'
15:43:38 worker.1 | /Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/connection_pool-1.0.0/lib/connection_pool.rb:48:in `with'
15:43:38 worker.1 | /Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/sidekiq-2.10.1/lib/sidekiq.rb:72:in `redis'
15:43:38 worker.1 | /Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/sidekiq-2.10.1/lib/sidekiq/api.rb:63:in `cleanup'
15:43:38 worker.1 | /Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/sidekiq-2.10.1/lib/sidekiq/cli.rb:55:in `run'
15:43:38 worker.1 | /Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/sidekiq-2.10.1/bin/sidekiq:8:in `<top (required)>'
15:43:38 worker.1 | /Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/bin/sidekiq:19:in `load'
15:43:38 worker.1 | /Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/bin/sidekiq:19:in `<main>'
15:43:38 worker.1 | /Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/bin/ruby_noexec_wrapper:14:in `eval'
15:43:38 worker.1 | /Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/bin/ruby_noexec_wrapper:14:in `<main>'
15:43:39 worker.1 | exited with code 1
15:43:39 system | sending SIGTERM to all processes
15:43:39 web.1 | reaped #<Process::Status: pid 37001 exit 0> worker=0
15:43:39 web.1 | master complete
15:43:39 web.1 | Exiting
15:43:39 web.1 | exited with code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment