Process falls into uninterruptible sleep

Process falls into uninterruptible sleep

Post by Michael Buesc » Thu, 10 Apr 2003 19:30:18



Hi.

I have a problem, since I'm using linux-2.4.21-pre6

Sometimes (there seems to be no reason for it) a process
(doesn't matter what process) falls into an
"uninterruptible sleep" while doing something with it.
This problem isn't reproducible or bound to a specific process.
It happens when it "want's to happen" :)

Here an example of a locked kmail:

mb       27979  0.2  8.8 43124 22728 ?       D    15:56   0:35 kmail

I'm not able to kill the processes.
I don't know if it is really a kernel-problem, but I think it is one.

Regards
Michael Buesch.

--
My homepage: http://www.veryComputer.com/
fighting for peace is like fu**ing for *ity

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://www.veryComputer.com/
Please read the FAQ at  http://www.veryComputer.com/

 
 
 

Process falls into uninterruptible sleep

Post by Perez-Gonzalez, Inak » Thu, 10 Apr 2003 22:50:08


> Michael Buesch


>> uniterruptible processes cannot be killed :)
> I know. :)
> But it shouldn't fall into this sleep.

Do this, try to get again kmail [or any other app to freeze]. When it is
hung in there, do:

$ ps axfwl > ps.log.

Now get the PID of the guy and do:

$ find /proc/PID -ls -perm a+r -exec cat {} \; > proc.log

Then go to a console and do Ctrl+ScrollLock - get that output from the
klogd->syslogd and look for the entry that matches the hang process and the
PID. Record the trace and send everything. The traces will look like:

kmail         S 00000001 4291079704  4518    394                     (NOTLB)
Call Trace:
 [<c013d3b5>] do_clock_nanosleep+0x1c5/0x360
 [<c011e5c0>] default_wake_function+0x0/0x20
 [<c011e5c0>] default_wake_function+0x0/0x20
 [<c013cfa0>] nanosleep_wake_up+0x0/0x10
 [<c01107c0>] do_gettimeofday+0x20/0xb0
 [<c013d03e>] sys_nanosleep+0x6e/0x100
 [<c0109a7f>] syscall_call+0x7/0xb

I am trying to see what it is exactly waiting for. From your data, it is
evident that it is somewhere in the rw process where he is getting
stuck, but it needs to be confirmed and traced to a where.

I?aky Prez-Gonzlez -- Not speaking for Intel -- all opinions are my own
(and my fault)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

Process falls into uninterruptible sleep

Post by Michael Buesc » Thu, 10 Apr 2003 23:10:16



Quote:> Do this, try to get again kmail [or any other app to freeze]. When it is
> hung in there, do:
> [...]

Yea, I'll try it. But you know: If you try to trigger something,
it doesn't happen. :)
I'll do my very best...

Regards
Michael Buesch.

--
My homepage: http://www.veryComputer.com/
fighting for peace is like fu**ing for *ity

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://www.veryComputer.com/
Please read the FAQ at  http://www.veryComputer.com/

 
 
 

Process falls into uninterruptible sleep

Post by Michael Buesc » Fri, 11 Apr 2003 16:50:07



Quote:> I have the same fault when I use galeon or mozilla.
> If I want to use galeon or mozilla again,I must reboot my pc first.

It happened to me with mozilla
(and some other apps, that I don't remeber), too.

Regards
Michael Buesch.

--
My homepage: http://www.veryComputer.com/
fighting for peace is like fu**ing for *ity

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://www.veryComputer.com/
Please read the FAQ at  http://www.veryComputer.com/

 
 
 

1. Uninterruptible sleeping process

Hi Gurus,
(TrueUnix4.0F question)
Submitted jobs go to Uninterruptible sleeping process. vmstate shows 98%
idle.
(The system was working fine before). What's wrong and how to make those
jobs
running properly?
Thanks
Tapas

--
------------------------------------------------------------------
"We owe a lot to the Indians, who taught us how to count, without
which no worthwhile scientific discovery could have been made."
                                           - Albert Einstein -
------------------------------------------------------------------
Tapas Kar, Ph. D
Department of Chemistry & Biochemistry
Utah State University
Logan, UT 84322-0300

Tel: 435-797-7230
Fax: 435-797-3390


2. FreeBSD&ISDN(i4b) NEED HELP!!

3. Killing a process in "uninterruptible sleep"

4. Q: Linux HTML/WWW tools for editing?

5. Uninterruptible sleep Process

6. Packet monkeys giving me hell

7. killing processes in an uninterruptible sleep

8. dosemu - fails to build

9. Process in "uninterruptible sleep"?

10. How to kill a uninterruptible sleep process

11. Uninterruptible sleep Process and Reboot

12. How to "kill" uninterruptible sleeping process?

13. Uninterruptible sleeping process