Re: 2.6.17-mm one process gets stuck in infinite loop in the kernel.

Andrew Morton
2006-06-29T17:41:23Z

On Thu, 29 Jun 2006 13:25:20 +0200
Helge Hafting <helge.hafting@aitel.hist.no> wrote:

> I have seen this both with mm2, m33 and mm4.
> Suddenly, the load meter jumps.
> Using ps & top, I see one process using 100% cpu.
> This is always a process that was exiting, this tend to happen
> when I close applications, or doing debian upgrades which
> runs lots of short-lived processes.
>
> I believe it is running in the kernel, ps lists it with stat "RN"
> and it cannot be killed, not even with kill -9 from root.
>
> Something wrong with process termination?
>

Please generate a kernel profile when it happens so we can see
where it got stuck.

<boot with profile=1>
<wait for it to happen>
readprofile -r
sleep 10
readprofile -n -v -m /boot/System.map | sort -n -k 3 | tail -40