Every once in a while, a process is stuck and doesn’t want to respond. I usually just found the process id by using
ps and then ran
kill -9 <pid>. Why? Cargo-culting, mostly.
Recently a friend and co-worker shared with me a little bash function that will attempt to send less destructive signals to the process to allow it to have time to clean-up after itself. Eventually it ends up just sending the
KILL signal, equivalent to
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15