On 09/06/2015 10:07 AM, Ed Greshko wrote:
On 09/06/15 21:55, Robert Moskowitz wrote:
> 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?
Well, a kill will fail to kill if the process is a zombie or in an uninterruptable
state. If top doesn't show any zombies then the process is probably uninterruptable
and I think this shows up as a D state in top.
Tasks: 217 total, 5 running, 212 sleeping, 0 stopped, 0 zombie
%Cpu(s): 12.4 us, 84.1 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 3.5 si,
0.0 st
KiB Mem : 3636504 total, 34804 free, 2810220 used, 791480 buff/cache
KiB Swap: 8388604 total, 6408640 free, 1979964 used. 710384 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+
COMMAND
2197 root 20 0 125148 1840 1616 R 79.9 0.1 19:24.07 umount
2200 root 20 0 125148 1904 1680 R 78.2 0.1 19:44.46 umount
8705 rgm 20 0 2743540 579296 41008 S 13.5 15.9 4245:23 firefox
And the terminal window this is from, is in as su.