Help!

Process D state

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> System Development RSS
Next:  [News] Best Western Chooses Linux for Transaction..  
Author Message
guru
External


Since: Jul 20, 2007
Posts: 9



PostPosted: Tue Jul 24, 2007 9:27 am    Post subject: Process D state
Archived from groups: comp>os>linux>development>system (more info?)

Hi All,

I am running 4 process in background, as below. Copying linux souce
code to non-native file system.

Scenario:

#cd /home/kernel

#cp -a linux-2.6.12.3 /mnt/1 &

#cp -a linux-2.6.12.3 /mnt/2 &

#cp -a linux-2.6.12.3 /mnt/3 &

#cp -a linux-2.6.12.3 /mnt/4 &

after some 1.1GB of write to the disk, all processes will be in D
State.

Output of ps -ax | grep cp:

3057 pts/2 D 14:46 cp -i -a linux-2.6.12.3 /mnt/1
3058 pts/2 D 15:17 cp -i -a linux-2.6.12.3 /mnt/2
3059 pts/2 D 14:30 cp -i -a linux-2.6.12.3 /mnt/3
3060 pts/2 D 15:02 cp -i -a linux-2.6.12.3 /mnt/4

I got D state means processes will be waiting for Disk I/O to complete
and these are un-interruptable.

I am not getting... why this happens and how to solve this problem.
Whether it is problem with file system.

if I run with three processes all are terminating correctly. if i give
4, they are going to D state.

Thanks & Regards
Gururaja
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