heroku cli产生无数个进程

时间:2018-01-05 19:26:16

标签: heroku-cli

一个星期左右后,我今天再次使用heroku cli,它崩溃了我的系统。事实证明它递归地产生了大量的过程:

UID        PID  PPID  C STIME TTY          TIME CMD
...
myUserName   10112 10106  0 14:19 pts/5    00:00:00 bash /home/myUserName/.local/share/heroku/client/bin/heroku
myUserName   10118 10112  0 14:19 pts/5    00:00:00 bash /home/myUserName/.local/share/heroku/client/bin/heroku
myUserName   10124 10118  0 14:19 pts/5    00:00:00 bash /home/myUserName/.local/share/heroku/client/bin/heroku
myUserName   10130 10124  0 14:19 pts/5    00:00:00 bash /home/myUserName/.local/share/heroku/client/bin/heroku
myUserName   10136 10130  0 14:19 pts/5    00:00:00 bash /home/myUserName/.local/share/heroku/client/bin/heroku
...

无论我是直接调用/usr/local/bin/heroku还是/usr/local/lib/heroku/bin/heroku,都会发生这种情况。尝试通过

进行升级
wget -qO- https://cli-assets.heroku.com/install-ubuntu.sh | sh

我得到了同样的效果。

有没有人经历过相同或知道解决方案?

1 个答案:

答案 0 :(得分:0)

我最后删除了我在硬盘上找到的所有heroku目录,然后通过wget -qO- https://cli-assets.heroku.com/install-ubuntu.sh | sh重新安装。这似乎有效。我当然需要重做heroku login