无法杀死进程 – 停止rails服务器

我试图从我的控制台停止rails服务器(我正在使用ubuntu)所以在堆栈上关注相关问题后,我试过了

Ctrl + C pgrep -l ruby and then kill -9 $the_right_pids (and also ps aux | grep ...) 

但这些都没有奏效。 有人有想法吗?

更新:我在堆栈post上找到了解决方案,问题似乎来自ruby服务器错误(当使用rubymine?)时,解决方案似乎不自然但它可以做到这一点:在控制台中停止进程并刷新浏览器与另一个localhost的端口 – > 如何在rubymine中停止/杀死服务器(开发)

Interesting Posts