Re: [2.6.23] tasks stuck in running state?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dmitry Adamushko
Date: Sunday, October 21, 2007 - 10:25 am

On 20/10/2007, Jeff Garzik <jeff@garzik.org> wrote:

I think, the following information would be helpful :

(1)  # cat /proc/PID/stat ; sleep 5; cat /proc/PID/stat

as we could know :

- whether utime or/and stime keeps increasing ;

- one of the fields is actually 'eip' ... so we could, hopefully, more
or less precisely localize the area of the code where it's looping.

(do_task_stat() in fs/proc/array.c)


(2) # cat /proc/sched_debug;
and
# cat /proc/PID/sched

(if your kernel has CONFIG_SCHED_DEBUG=y)


(3) is anything else able to run on this CPU (as I understand it's
SMP) or the task does completely locks it up.

again, one of the fields of /proc/PID/stat is the CPU# on which the
task is currently active.

Let's start a buzy-loop task on this cpu and see wheather it's able to
make any progress (TIME counter in 'ps')

# taskset -c THIS_CPU some_busy_looping_prog

TIA,

-- 
Best regards,
Dmitry Adamushko
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6.23] tasks stuck in running state?, Jeff Garzik, (Fri Oct 19, 2:39 pm)
Re: [2.6.23] tasks stuck in running state?, Chuck Ebbert, (Fri Oct 19, 2:53 pm)
Re: [2.6.23] tasks stuck in running state?, Jeff Garzik, (Fri Oct 19, 3:03 pm)
Re: [2.6.23] tasks stuck in running state?, Chuck Ebbert, (Fri Oct 19, 3:18 pm)
Re: [2.6.23] tasks stuck in running state?, David Miller, (Fri Oct 19, 5:01 pm)
Re: [2.6.23] tasks stuck in running state?, Ray Lee, (Fri Oct 19, 6:08 pm)
Re: [2.6.23] tasks stuck in running state?, Chuck Ebbert, (Sun Oct 21, 8:59 am)
Re: [2.6.23] tasks stuck in running state?, Dmitry Adamushko, (Sun Oct 21, 10:25 am)
Re: [2.6.23] tasks stuck in running state?, Dmitry Adamushko, (Sun Oct 21, 10:34 am)
Re: [2.6.23] tasks stuck in running state?, David Miller, (Sun Oct 21, 12:52 pm)
ext3 deadlock or Re: [2.6.23] tasks stuck in running state?, Guennadi Liakhovetski, (Sun Oct 21, 1:11 pm)