Re: how to stop kernel nfsd?

From: Christian Kujau
Date: Wed Jun 10 2009 - 15:25:22 EST


On Wed, 10 Jun 2009, Harald Dunkel wrote:
> To terminate the nfs service Lenny's /etc/init.d/nfs-kernel-server tries
> kill -INT <pid>

Mine does: start-stop-daemon --stop --name nfsd
...thus sending signal 15 (terminate) to the nfsd processes. Not sure what
INT does to nfsd.

> Surely I am not asking for support for Lenny's kernel. But it would be
> interesting to know what the kernel nfs daemons are supposed to do when
> they receive a signal. AFAICS this is not documented.

It's called nfs-kernel-server because it communicates with the kernel NFS
moduels, but it's a userspace issue nonetheless, methinks:

https://lists.sourceforge.net/lists/listinfo/nfs

(I justed tested it: kill -INT ends the nfsd processes, but I'm not sure
if graceful or not...)

HTH,
Christian.
--
BOFH excuse #245:

The Borg tried to assimilate your system. Resistance is futile.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/