processes hanging in disk wait ?

Darren Reed (darrenr@cyber.com.au)
Mon, 24 Nov 1997 13:08:49 +1100 (EST)


can anyone tell me why this should be hung:

1376 ? D 0:00 grep alloc_skb /usr/src/linux/kernel/dma.c /usr/src/linux/k
...

what's more, "strace -p 1376" is also hung and I can't interrupt that
either (it didn't produce _any_ output). running it again with strace gives

open("/usr/src/linux/kernel/sched.c", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=43353, ...}) = 0
lseek(3, 0, SEEK_CUR) = 0
mmap(0x805c000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x805c000

as the last output from strace.

oh, it's not short on memory (or shouldn't be):

1:05pm up 52 min, 2 users, load average: 2.27, 1.18, 0.55
45 processes: 43 sleeping, 1 running, 0 zombie, 1 stopped
CPU states: 0.0% user, 2.8% system, 2.8% nice, 97.2% idle
Mem: 127876K av, 71572K used, 56304K free, 14988K shrd, 43396K buff
Swap: 100796K av, 0K used, 100796K free 13780K cached

running the same command in another directory is fine.