LoginSignup
11
7

More than 5 years have passed since last update.

Ruboty | Heroku にデプロイした ruboty のプロセスが status 143 で exit してしまう #ruboty #heroku

Posted at

Ruboty | Heroku にデプロイした ruboty のプロセスが status 143 で exit してしまう #ruboty #heroku

概要

Heroku にデプロイした ruboty のプロセスが status 143 で exit してしまう事象が発生。
対応方法について。

現象

Heroku に Ruboty をデプロイして Slack と連携していたのですが、
スリープ状態になったプロセスが反応しないため、
heroku restart で再起動を実行しましたが、動きません。
heroku logs で確認したところ、再起動直後に即 exit していました。

logs を確認したところ、再起動直後に即停止してしまっているようです。

$ heroku logs
2014-10-31T01:00:04.752860+00:00 heroku[bot.1]: Starting process with command `bundle exec ruboty`
2014-10-31T01:00:05.675499+00:00 heroku[bot.1]: State changed from starting to up
2014-10-31T01:00:04.954595+00:00 heroku[bot.1]: Stopping all processes with SIGTERM
2014-10-31T01:00:10.282889+00:00 heroku[bot.1]: Process exited with status 143
2014-10-31T01:14:14.371609+00:00 heroku[bot.1]: State changed from up to starting
2014-10-31T01:14:16.510806+00:00 heroku[bot.1]: Starting process with command `bundle exec ruboty`
2014-10-31T01:14:17.124073+00:00 heroku[bot.1]: State changed from starting to up
2014-10-31T01:14:17.223039+00:00 heroku[bot.1]: Stopping all processes with SIGTERM
2014-10-31T01:14:19.109616+00:00 heroku[bot.1]: Process exited with status 143

対応

正常に起動するまで heroku restart をたたく
愚直・・・

11
7
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
7