Killing abandoned process on Heroku

后端 未结 4 1564
无人及你
无人及你 2021-02-03 17:12

I killed an IRB prompt in a not-so-graceful manner (started with heroku run irb), and now I\'ve got a zombie process which I can\'t seem to kill:

Pr         


        
4条回答
  •  别那么骄傲
    2021-02-03 17:19

    I noticed a new ps:stop command added to the Heroku command line client a few days ago:
    https://github.com/heroku/heroku/commit/a6d9eb7f314bf2c5f162a508e8d764286fb577bb

    I'm not sure if that change made it into version 2.9.0 but it would be worth a try.

    Update

    This is now in the Heroku Toolbelt. Just run:

    heroku ps:stop 
    

    Example:

    heroku ps:stop run.8729
    

提交回复
热议问题