1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Herokuで"Run console" が実行できなくなってしまったときの対処法

Posted at

この記事の目的

  1. Herokuで"Run console"を実行しようと試みた際に、下記エラーが出た場合の対処法を知る。
Cannot run more than 1 Free size dynos.

対処法

  1. 現在動いているプロセスを確認するため、下記コマンドをローカルにて実行します。
$ heroku ps 

2. コマンド実行後、下記のように稼働中の one-off processesが確認できた場合、
該当プロセスを止める必要があります。

$ heroku ps
Free dyno hours quota remaining this month: 978h 53m (97%)
Free dyno usage for this app: 20h 4m (2%)
For more information on dyno sleeping and how to upgrade, see:
https://devcenter.heroku.com/articles/dyno-sleeping

=== run: one-off processes (1)
run.2767 (Free): up 2018/11/23 21:06:53 +0900 (~ 9m ago): bash

=== web (Free): node server.js (1)
web.1: up 2018/11/23 21:12:24 +0900 (~ 4m ago)

  1. 下記コマンドで、プロセスIDを指定して該当プロセスを終了します。
$ heroku ps:stop run.2767(プロセスID)

参考

こちらのページを参考にしました。

1
1
0

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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?