Help!

Causes for process going into D state

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> System Development RSS
Next:  using win32 DLLs in Linux  
Author Message
guru
External


Since: Jul 20, 2007
Posts: 9



PostPosted: Mon Jul 30, 2007 2:12 am    Post subject: Causes for process going into D state
Archived from groups: comp>os>linux>development>system (more info?)

Hi

What are the causes for process going in to D state. (which is
interruptible).

One reason i got is, due to 'deadlock' the process may go in to dead
lock.

in my program i am using down(struct semaphore *) function which
places process to uninterruptible state. so I am seeing Process in D
state.

i am trying to copy kernel souce code but for 4 threads , after 1.1GB
all are going to D state.

is there any other causes for this?.

Thanks & Regards
Gururaja
Back to top
Rainer Weikusat
External


Since: Apr 02, 2007
Posts: 105



PostPosted: Mon Jul 30, 2007 9:35 am    Post subject: Re: Causes for process going into D state [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

guru <guru.naveen.TakeThisOut@gmail.com> 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.
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> System Development All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum