linux-2.0.32 + ben-inode.diff hangs on NFS

Miquel van Smoorenburg (miquels@cistron.nl)
9 Nov 1997 13:35:01 +0100


I'm running linux-2.0.32-1 + the ben-inode.diff on one of our machines.
Some processes start to hang in state `D' on NFS access.

There is no way to kill these processes. Strange thing is, I can access and
edit a lot of files on my NFS mounted homedir without problems but vi'ing
the script "checkfreemem" _always_ hangs.

$ ps aux | grep D
USER PID %CPU %MEM VSZ RSS TT STAT START TIME COMMAND
ed 1671 0.0 0.8 2804 1056 ? D 04:08 0:00 /usr/bin/vi .rhosts
miquels 6412 0.0 0.8 2800 1048 ? D 12:34 0:00 /usr/bin/vi checkfr
miquels 6479 0.0 0.7 2800 968 ? D 12:38 0:00 /usr/bin/vi checkfr
miquels 6578 0.0 0.7 2800 968 ? D 13:24 0:00 /usr/bin/vi checkfr
miquels 6597 0.0 0.2 748 336 ? D 13:26 0:00 ls -CF

$ ps alx 1671 6412 6479 6578 6597
FLAGS UID PID PPID PRI NI VSZ RSS WCHAN STAT TT TIME COMMA
100000 2105 1671 1 0 0 2804 1056 wait_on_in D ? 0:00 /usr/
100000 2101 6412 1 0 0 2800 1048 wait_on_in D ? 0:00 /usr/
100000 2101 6479 1 0 0 2800 968 wait_on_in D ? 0:00 /usr/
100000 2101 6578 1 0 0 2800 968 wait_on_in D ? 0:00 /usr/
100000 2101 6597 1 0 0 748 336 wait_on_in D ? 0:00 ls -C

Seems they are stuck in wait_on_inode. So this is probably a bug in the
ben-inode.diff...

HTH - Mike.

-- 
   Miquel van      | Cistron Internet Services   --    Alphen aan den Rijn.
   Smoorenburg,    | mailto:info@cistron.nl          http://www.cistron.nl/
miquels@cistron.nl |       PTT's Het Net: Surfen in de gootsteen!	<*>