Revert r320758, which was the man page update for r320757 just reverted.
This is a content change. PR: 230752
This commit is contained in:
parent
6707634b97
commit
ed5610b5f3
@ -24,7 +24,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd July 6, 2017
|
.Dd July 4, 2017
|
||||||
.Dt NFSUSERD 8
|
.Dt NFSUSERD 8
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -40,34 +40,21 @@ services plus support manage-gids for all NFS versions
|
|||||||
.Op Fl verbose
|
.Op Fl verbose
|
||||||
.Op Fl force
|
.Op Fl force
|
||||||
.Op Fl manage-gids
|
.Op Fl manage-gids
|
||||||
.Op Fl use-udpsock
|
|
||||||
.Op Ar num_servers
|
.Op Ar num_servers
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm
|
.Nm
|
||||||
loads user and group information into the kernel for NFSv4.
|
loads user and group information into the kernel for NFSv4.
|
||||||
|
It must be running for NFSv4 to function correctly, either client or server.
|
||||||
It also provides support for manage-gids and must be running on the server if
|
It also provides support for manage-gids and must be running on the server if
|
||||||
this is being used for any version of NFS.
|
this is being used for any version of NFS.
|
||||||
.Pp
|
.Pp
|
||||||
Upon startup, it loads the machines DNS domain name, plus timeout and
|
Upon startup, it loads the machines DNS domain name, plus timeout and
|
||||||
cache size limit into the kernel. It then preloads the cache with group
|
cache size limit into the kernel. It then preloads the cache with group
|
||||||
and user information, up to the cache size limit and forks off N children
|
and user information, up to the cache size limit and forks off N children
|
||||||
(only 1 child for AF_LOCAL sockets), that service requests from the kernel for cache misses.
|
(default 4), that service requests from the kernel for cache misses. The
|
||||||
The master server is there for the sole purpose of killing off the slave(s).
|
master server is there for the sole purpose of killing off the slaves.
|
||||||
To stop the nfsuserd, send a SIGUSR1 to the master server.
|
To stop the nfsuserd, send a SIGUSR1 to the master server.
|
||||||
.Pp
|
.Pp
|
||||||
By default, upcalls from the kernel use an AF_LOCAL socket.
|
|
||||||
For this case, only one server daemon will be running.
|
|
||||||
The
|
|
||||||
.Fl use-udpsock
|
|
||||||
option may be used to make the
|
|
||||||
.Nm
|
|
||||||
daemon use a UDP socket, with upcalls done via 127.0.0.1, which was the
|
|
||||||
old behaviour for
|
|
||||||
.Nm .
|
|
||||||
Use of the UDP socket can only be done if
|
|
||||||
.Xr jail 8
|
|
||||||
are not being used.
|
|
||||||
.Pp
|
|
||||||
The following options are available:
|
The following options are available:
|
||||||
.Bl -tag -width Ds
|
.Bl -tag -width Ds
|
||||||
.It Fl domain Ar domain_name
|
.It Fl domain Ar domain_name
|
||||||
@ -104,12 +91,14 @@ and uses the group list for that uid provided by
|
|||||||
.Xr getgrouplist 3
|
.Xr getgrouplist 3
|
||||||
on the server instead of the list of groups provided in the RPC authenticator.
|
on the server instead of the list of groups provided in the RPC authenticator.
|
||||||
This can be used to avoid the 16 group limit for AUTH_SYS.
|
This can be used to avoid the 16 group limit for AUTH_SYS.
|
||||||
.It Fl use-udpsock
|
|
||||||
This flag forces use of the old behaviour of a UDP socket with upcalls done via 127.0.0.1.
|
|
||||||
.It Ar num_servers
|
.It Ar num_servers
|
||||||
Specifies how many servers to create (max 20).
|
Specifies how many servers to create (max 20).
|
||||||
This option has been deprecated and is ignored for AF_LOCAL upcall sockets,
|
The default of 4 may be sufficient. You should run enough servers, so that
|
||||||
which always use a single server.
|
.Xr ps 1
|
||||||
|
shows almost no running time for one or two of the slaves after the system
|
||||||
|
has been running for a long period. Running too few will have a major
|
||||||
|
performance impact, whereas running too many will only tie up some resources,
|
||||||
|
such as a process table entry and swap space.
|
||||||
.El
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr getgrent 3 ,
|
.Xr getgrent 3 ,
|
||||||
@ -138,11 +127,8 @@ and
|
|||||||
.Xr passwd 5
|
.Xr passwd 5
|
||||||
for more information on how the databases are accessed.
|
for more information on how the databases are accessed.
|
||||||
.Pp
|
.Pp
|
||||||
For the
|
Since the kernel communicates with the
|
||||||
.Fl use-udpsock
|
|
||||||
option, since the kernel communicates with the
|
|
||||||
.Nm
|
.Nm
|
||||||
daemon via an upcall that uses the IP address 127.0.0.1, it does not work correctly when
|
daemon via an upcall that uses the IP address 127.0.0.1, it does not work correctly when
|
||||||
.Xr jail 8
|
.Xr jail 8
|
||||||
are used and can crash the system.
|
are used and can crash the system.
|
||||||
This is not a problem when a AF_LOCAL socket is used.
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user