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