Skip to content

Instantly share code, notes, and snippets.

@sbounmy
Created February 9, 2013 08:38
Show Gist options
  • Save sbounmy/4744603 to your computer and use it in GitHub Desktop.
Save sbounmy/4744603 to your computer and use it in GitHub Desktop.
bluepill not restart unicorn properly
W, [2013-02-09T09:21:46.698402 #28965] WARN -- : [spree:unicorn:unicorn] Executing restart command: kill -USR2 9642
W, [2013-02-09T09:23:47.726863 #28965] WARN -- : [spree:unicorn:unicorn] Executing stop command: kill -QUIT 9642
W, [2013-02-09T09:23:47.748077 #28965] WARN -- : [spree:unicorn:unicorn] Stop command execution returned non-zero exit code:
W, [2013-02-09T09:23:47.748243 #28965] WARN -- : [spree:unicorn:unicorn] {:stdout=>"", :stderr=>"kill: No such process\n", :exit_code=>1}
W, [2013-02-09T09:23:47.748908 #28965] WARN -- : [spree:unicorn:unicorn] Clearing child list
I, [2013-02-09T09:23:47.748985 #28965] INFO -- : [spree:unicorn:unicorn] Going from up => unmonitored
W, [2013-02-09T09:24:32.543575 #28965] WARN -- : [spree:unicorn:unicorn] Executing stop command: kill -QUIT 9642
W, [2013-02-09T09:24:32.564589 #28965] WARN -- : [spree:unicorn:unicorn] Stop command execution returned non-zero exit code:
W, [2013-02-09T09:24:32.564690 #28965] WARN -- : [spree:unicorn:unicorn] {:stdout=>"", :stderr=>"kill: No such process\n", :exit_code=>1}
E, [2013-02-09T09:25:19.773042 #28965] ERROR -- : [spree:unicorn:unicorn] Failed to signal process 9642 with code 0: No such process
W, [2013-02-09T09:25:19.773325 #28965] WARN -- : [spree:unicorn:unicorn] Executing start command: bundle exec unicorn_rails -c /data/spree/shared/config/unicorn.rb -E production
E, [2013-02-09T09:28:19.774462 #28965] ERROR -- : [spree:unicorn:unicorn] Execution is taking longer than expected. Unmonitoring.
E, [2013-02-09T09:28:19.774594 #28965] ERROR -- : [spree:unicorn:unicorn] Did you forget to tell bluepill to daemonize this process?
W, [2013-02-09T09:28:19.775132 #28965] WARN -- : [spree:unicorn:unicorn] Clearing child list
I, [2013-02-09T09:28:19.775212 #28965] INFO -- : [spree:unicorn:unicorn] Going from starting => unmonitored
W, [2013-02-09T09:28:19.775422 #28965] WARN -- : [spree:unicorn:unicorn] Clearing child list
I, [2013-02-09T09:28:19.775515 #28965] INFO -- : [spree:unicorn:unicorn] Going from unmonitored => starting
E, [2013-02-09T09:28:19.775838 #28965] ERROR -- : [spree] Got exception in cmd listener: Errno::EPIPE `Broken pipe`
E, [2013-02-09T09:28:19.775969 #28965] ERROR -- : [spree] /usr/local/lib/ruby/gems/1.9.1/gems/bluepill-0.0.60/lib/bluepill/application.rb:101:in `write'
E, [2013-02-09T09:28:19.776027 #28965] ERROR -- : [spree] /usr/local/lib/ruby/gems/1.9.1/gems/bluepill-0.0.60/lib/bluepill/application.rb:101:in `block (2 levels) in start_listener'
E, [2013-02-09T09:28:19.776082 #28965] ERROR -- : [spree] /usr/local/lib/ruby/gems/1.9.1/gems/bluepill-0.0.60/lib/bluepill/application.rb:91:in `loop'
E, [2013-02-09T09:28:19.776132 #28965] ERROR -- : [spree] /usr/local/lib/ruby/gems/1.9.1/gems/bluepill-0.0.60/lib/bluepill/application.rb:91:in `block in start_listener'
W, [2013-02-09T09:28:19.876512 #28965] WARN -- : [spree:unicorn:unicorn] Refusing to re-run start command on an already running process.
E, [2013-02-09T09:28:19.876790 #28965] ERROR -- : [spree] Got exception in cmd listener: Errno::EPIPE `Broken pipe`
E, [2013-02-09T09:28:19.876862 #28965] ERROR -- : [spree] /usr/local/lib/ruby/gems/1.9.1/gems/bluepill-0.0.60/lib/bluepill/application.rb:101:in `write'
E, [2013-02-09T09:28:19.876910 #28965] ERROR -- : [spree] /usr/local/lib/ruby/gems/1.9.1/gems/bluepill-0.0.60/lib/bluepill/application.rb:101:in `block (2 levels) in start_listener'
E, [2013-02-09T09:28:19.876955 #28965] ERROR -- : [spree] /usr/local/lib/ruby/gems/1.9.1/gems/bluepill-0.0.60/lib/bluepill/application.rb:91:in `loop'
E, [2013-02-09T09:28:19.877006 #28965] ERROR -- : [spree] /usr/local/lib/ruby/gems/1.9.1/gems/bluepill-0.0.60/lib/bluepill/application.rb:91:in `block in start_listener'
W, [2013-02-09T09:28:19.977398 #28965] WARN -- : [spree:unicorn:unicorn] Refusing to re-run start command on an already running process.
E, [2013-02-09T09:28:19.977614 #28965] ERROR -- : [spree] Got exception in cmd listener: Errno::EPIPE `Broken pipe`
E, [2013-02-09T09:28:19.977692 #28965] ERROR -- : [spree] /usr/local/lib/ruby/gems/1.9.1/gems/bluepill-0.0.60/lib/bluepill/application.rb:101:in `write'
E, [2013-02-09T09:28:19.977741 #28965] ERROR -- : [spree] /usr/local/lib/ruby/gems/1.9.1/gems/bluepill-0.0.60/lib/bluepill/application.rb:101:in `block (2 levels) in start_listener'
E, [2013-02-09T09:28:19.977877 #28965] ERROR -- : [spree] /usr/local/lib/ruby/gems/1.9.1/gems/bluepill-0.0.60/lib/bluepill/application.rb:91:in `loop'
E, [2013-02-09T09:28:19.977922 #28965] ERROR -- : [spree] /usr/local/lib/ruby/gems/1.9.1/gems/bluepill-0.0.60/lib/bluepill/application.rb:91:in `block in start_listener'
W, [2013-02-09T09:28:20.078206 #28965] WARN -- : [spree:unicorn:unicorn] Refusing to re-run start command on an already running process.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment