freebsd-skq/sbin/nfsd
Ian Dowse fef7dd5a5f When nfsd was started with only UDP servers, the master nfsd would
spin in a loop eating CPU time. This bug has existed since the
TI-RPC import. The problem is that we should only enter the select
loop if at least one TCP server was started.  Fix this by having
the master nfsd become a UDP server itself if there are no TCP
servers.

Also improve/correct the code for cleaning up slave nfsd processes
and unregistering with rpcbind when the master nfsd exits.

One issue that remains open is that if a slave nfsd dies, then all
nfsds will shut down. This is because nfssvc() in the master nfsd
returns 0 when the master nfsd receives a SIGCHLD.

Submitted by:	tmm
2001-10-16 21:55:53 +00:00
..
Makefile Userland part of nfs client/server split and cleanup. 2001-09-18 23:34:44 +00:00
nfsd.8 mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
nfsd.c When nfsd was started with only UDP servers, the master nfsd would 2001-10-16 21:55:53 +00:00