Created
October 23, 2017 18:24
-
-
Save gregblake/e2df9e81660cfd88906a9e46a262e29c to your computer and use it in GitHub Desktop.
resque pool restart
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 14:22 $ bundle exec cap production resque:pool:restart | |
| 00:00 resque:pool:stop | |
| 01 kill -s INT `cat /data/apps/ror/pws/shared/tmp/pids/resque-pool.pid` | |
| ✔ 01 [email protected] 0.067s | |
| ✔ 01 [email protected] 0.063s | |
| ✔ 01 [email protected] 0.066s | |
| 00:00 resque:pool:start | |
| 01 bundle exec resque-pool --daemon --environment production RUN_AT_EXIT_HOOKS=1 | |
| ✔ 01 [email protected] 1.400s | |
| 01 bundler: failed to load command: resque-pool (/data/apps/ror/pws/shared/bundle/ruby/2.3.0/bin/resque-pool) | |
| 01 RuntimeError: Pidfile already exists at tmp/pids/resque-pool.pid and process is still running. | |
| 01 /data/apps/ror/pws/shared/bundle/ruby/2.3.0/bundler/gems/resque-pool-ec81c92df41e/lib/resque/pool/cli.rb:104:in `manage_pidfile' | |
| 01 /data/apps/ror/pws/shared/bundle/ruby/2.3.0/bundler/gems/resque-pool-ec81c92df41e/lib/resque/pool/cli.rb:17:in `run' | |
| 01 /data/apps/ror/pws/shared/bundle/ruby/2.3.0/bundler/gems/resque-pool-ec81c92df41e/bin/resque-pool:7:in `<top (required)>' | |
| 01 /data/apps/ror/pws/shared/bundle/ruby/2.3.0/bin/resque-pool:23:in `load' | |
| 01 /data/apps/ror/pws/shared/bundle/ruby/2.3.0/bin/resque-pool:23:in `<top (required)>' | |
| ✔ 01 [email protected] 2.082s | |
| ✔ 01 [email protected] 2.088s | |
| 01 bundler: failed to load command: resque-pool (/data/apps/ror/pws/shared/bundle/ruby/2.3.0/bin/resque-pool) | |
| 01 RuntimeError: Pidfile already exists at tmp/pids/resque-pool.pid and process is still running. | |
| 01 /data/apps/ror/pws/shared/bundle/ruby/2.3.0/bundler/gems/resque-pool-ec81c92df41e/lib/resque/pool/cli.rb:104:in `manage_pidfile' | |
| 01 /data/apps/ror/pws/shared/bundle/ruby/2.3.0/bundler/gems/resque-pool-ec81c92df41e/lib/resque/pool/cli.rb:17:in `run' | |
| 01 /data/apps/ror/pws/shared/bundle/ruby/2.3.0/bundler/gems/resque-pool-ec81c92df41e/bin/resque-pool:7:in `<top (required)>' | |
| 01 /data/apps/ror/pws/shared/bundle/ruby/2.3.0/bin/resque-pool:23:in `load' | |
| 01 /data/apps/ror/pws/shared/bundle/ruby/2.3.0/bin/resque-pool:23:in `<top (required)>' | |
| ✔ 01 [email protected] 2.383s | |
| ✔ 01 [email protected] 2.584s | |
| 01 bundler: failed to load command: resque-pool (/data/apps/ror/pws/shared/bundle/ruby/2.3.0/bin/resque-pool) | |
| 01 RuntimeError: Pidfile already exists at tmp/pids/resque-pool.pid and process is still running. | |
| 01 /data/apps/ror/pws/shared/bundle/ruby/2.3.0/bundler/gems/resque-pool-ec81c92df41e/lib/resque/pool/cli.rb:104:in `manage_pidfile' | |
| 01 /data/apps/ror/pws/shared/bundle/ruby/2.3.0/bundler/gems/resque-pool-ec81c92df41e/lib/resque/pool/cli.rb:17:in `run' | |
| 01 /data/apps/ror/pws/shared/bundle/ruby/2.3.0/bundler/gems/resque-pool-ec81c92df41e/bin/resque-pool:7:in `<top (required)>' | |
| 01 /data/apps/ror/pws/shared/bundle/ruby/2.3.0/bin/resque-pool:23:in `load' | |
| 01 /data/apps/ror/pws/shared/bundle/ruby/2.3.0/bin/resque-pool:23:in `<top (required)>' | |
| 01 | |
| ✔ 01 [email protected] 2.666s | |
| Stop TRAINING resque-pool workers | |
| 00:03 resque:pool:training:stop | |
| 01 kill -s INT `cat /data/apps/ror/pws/shared/tmp/pids/resque-pool.pid` | |
| ✔ 01 [email protected] 0.070s | |
| Start TRAINING resque-pool workers | |
| 00:03 resque:pool:training:start | |
| 01 bundle exec resque-pool --daemon --environment training_production RUN_AT_EXIT_HOOKS=1 | |
| 01 bundler: failed to load command: resque-pool (/data/apps/ror/pws/shared/bundle/ruby/2.3.0/bin/resque-pool) | |
| 01 RuntimeError: Pidfile already exists at tmp/pids/resque-pool.pid and process is still running. | |
| 01 /data/apps/ror/pws/shared/bundle/ruby/2.3.0/bundler/gems/resque-pool-ec81c92df41e/lib/resque/pool/cli.rb:104:in `manage_pidfile' | |
| 01 /data/apps/ror/pws/shared/bundle/ruby/2.3.0/bundler/gems/resque-pool-ec81c92df41e/lib/resque/pool/cli.rb:17:in `run' | |
| 01 /data/apps/ror/pws/shared/bundle/ruby/2.3.0/bundler/gems/resque-pool-ec81c92df41e/bin/resque-pool:7:in `<top (required)>' | |
| 01 /data/apps/ror/pws/shared/bundle/ruby/2.3.0/bin/resque-pool:23:in `load' | |
| 01 /data/apps/ror/pws/shared/bundle/ruby/2.3.0/bin/resque-pool:23:in `<top (required)>' | |
| ✔ 01 [email protected] 2.336s | |
| ✔ ~/code/nitro-web [master ↓·60|✚ 1⚑ 161] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment