0

I am trying to kill a process sublime_text using the kill -9 command. But the process is still there and so I am not able to open another instance of it.

 root@alwin-linux:~# ps aux|grep subl 

 root      3018  2.2  1.0 289008 61872 ?        Ds   12:30   5:27
 /opt/sublime_text/sublime_text 

 root   3037  0.0  0.2  65676 15364 ?        Sl   12:30   0:11
 /opt/sublime_text/plugin_host 3018 

 root      6702  0.0  0.0   4432   820 pts/1    S+   16:35   0:00 grep
 --color=auto subl 

 root@alwin-linux:~# kill -9 3018 

 root@alwin-linux:~# ps aux|grep subl 

 root      3018  2.2  1.0 289008

 61872 ?        Ds   12:30   5:27 /opt/sublime_text/sublime_text 

 root      3037  0.0  0.2  65676 15364 ? Sl   12:30   0:11
 /opt/sublime_text/plugin_host 3018  
 root      6705  0.0  0.0   4432   824 pts/1    S+   16:35   0:00 grep --color=auto subl
Alvar
  • 17,038

1 Answers1

5

The D in the STAT column means it's in an in "Uninterruptible sleep". That usually translates to something waiting for an IO command. These cannot be interrupted by kill.

You might be able to jimmy it back to life by unmounting your SSHFS mount. In general, using SSH with Sublime is a bit tricky. There is a paid-for addon that claims to work well but I would work locally. Either rsync or script something up to deploy (Fabric+Git is great).

Oli
  • 299,380