Re: Causes for process going into D state
- From: Rainer Weikusat <rweikusat@xxxxxxxxxxx>
- Date: Mon, 30 Jul 2007 09:35:11 +0200
guru <guru.naveen@xxxxxxxxx> writes:
What are the causes for process going in to D state. (which is
interruptible).
The process is doing an uninterruptible sleep in the kernel. The most
common cause of this is that it is waiting for a disk I/O-request to
complete.
in my program i am using down(struct semaphore *) function which
places process to uninterruptible state. so I am seeing Process in D
state.
You could use down_interruptible instead, although that likely
wouldn't solve your problem.
.
- References:
- Causes for process going into D state
- From: guru
- Causes for process going into D state
- Prev by Date: Re: ask for benchmark software for linux
- Previous by thread: Causes for process going into D state
- Index(es):
Relevant Pages
|