Killing NFS daemons

VDA (VDA@port.imtp.ilyichevsk.odessa.ua)
Tue, 11 Sep 2001 12:08:12 +0300


After being distracted by other toys I am trying again to
make my system shutdown cleanly. I have NFS running.
I discovered that I can "killall -9 nfsd" and nfsd,lockd and rpciod
are all terminating ok, but when I attempt to "killall5 -9",
it does not work as expected.

My NFS is not loaded at all. No NFS clients on the net yet.
kernel: 2.4.5

pegasus:/root# killall5 -9
pegasus:/root# ps -AH e
PID TTY STAT TIME COMMAND
1 ? S 0:03 init HOME=/ TERM=linux BOOT_IMAGE=bzimage
2 ? SW 0:00 [keventd]
3 ? SW 0:01 [kswapd]
4 ? SW 0:00 [kreclaimd]
5 ? SW 0:00 [bdflush]
6 ? SW 0:00 [kupdated]
7 ? SW 0:00 [scsi_eh_0]
165 ? DW 0:00 [nfsd] <-- ?
167 ? DW 0:00 [lockd] <-- ?
168 ? SW 0:00 [rpciod]
187 vc/2 S 0:00 -bash TERM=linux HZ=100 HOME=/root ...
229 vc/2 R 0:00 ps -AH e PWD=/root HZ=100 HOSTNAME=....
219 vc/9 S 0:00 /sbin/agetty 38400 tty9 linux HOME=/ ...
220 vc/8 S 0:00 /sbin/agetty 38400 tty8 linux HOME=/ ...
...
pegasus:/root# <-- here I wait ~ 2 mins
rpciod: active tasks at shutdown?! <-- rpciod talks to me
ps -AH e
PID TTY STAT TIME COMMAND
1 ? S 0:03 init HOME=/ TERM=linux BOOT_IMAGE=bzimage
2 ? SW 0:00 [keventd]
3 ? SW 0:01 [kswapd]
4 ? SW 0:00 [kreclaimd]
5 ? SW 0:00 [bdflush]
6 ? SW 0:00 [kupdated]
7 ? SW 0:00 [scsi_eh_0]
187 vc/2 S 0:00 -bash TERM=linux HZ=100 HOME=/root ...
230 vc/2 R 0:00 ps -AH e PWD=/root HZ=100 HOSTNAME=....
223 vc/9 S 0:00 /sbin/agetty 38400 tty9 linux HOME=/ ...
224 vc/8 S 0:00 /sbin/agetty 38400 tty8 linux HOME=/ ...

-- 
Best regards,
VDA
mailto:VDA@port.imtp.ilyichevsk.odessa.ua
http://port.imtp.ilyichevsk.odessa.ua/vda/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/