Can't kill a process - stopping rails server

余生颓废 提交于 2019-12-12 03:45:27

问题


I am trying to stop rails server from my console (i am using ubuntu) so following the related questions on stack, I tried

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

but none of these worked. Does anybody have an idea ?

Update: I found a solution on a stack post and the issue seems be come from a ruby server bug (when using rubymine?), the solution seems not natural but it can do the trick : stop the process in the console and the refresh the browser with another localhost's port --> How to stop/kill server (development) in rubymine

来源:https://stackoverflow.com/questions/15040790/cant-kill-a-process-stopping-rails-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!