Can't kill a umount

Cameron Simpson cs at zip.com.au
Sun Sep 6 20:33:10 UTC 2015


On 06Sep2015 14:22, Robert Moskowitz <rgm at htt-consult.com> wrote:
>On 09/06/2015 01:40 PM, François Patte wrote:
>>Le 06/09/2015 16:05, Robert Moskowitz a écrit :
>>>On 09/06/2015 09:57 AM, François Patte wrote:
>>>>Le 06/09/2015 15:55, Robert Moskowitz a écrit :
>>>>>I was copying some files to a newly set up USB HD, and then
>>>>>did some umounts when done.  Well they are still running, and
>>>>>kill pid
>>>>>is not killing them and they are taking up most of my cpu.
>>>>>I have never seen 'kill' fail.
>>>>>What can I do other than reboot?
>>>>kill -9
>>>Do you mean:
>>>kill -9 2200
>>>where 2200 is the pid number I want dead?
>>exactly! This will the process without any regard to other linked
>>processes
>
>Thanks I will know this  for next time.

Bear in mind tht "kill -9" is a method of last resort. You're there of course, 
but some people start with kill -9 - that is bad. Normal kill (kill -TERM, kill 
-15) sends SIGTERM, which a process can catch allowing it to tidy up and then 
exit cleanly. Always start with plain kill before kill -9.

Cheers,
Cameron Simpson <cs at zip.com.au>


More information about the users mailing list