Running optimal number of NFS daemons

By default, you run eight NFS daemons. To see how heavily each nfsd thread is used, run the cat /proc/net/rpc/nfsd command. The last ten numbers on the line in that file indicate the number of seconds that the nfsd thread usage was at that percentage of the maximum allowable. If you have a large number in the top three deciles, you may want to increase the number of nfsd instances. To change the number of NFS daemons started when your server boots up, do the following:

2. Stop nfsd using the /etc/rc.d/init.d/nfs stop command if you run it currently.

3. Modify the /etc/rc.d/init.d/nfs script so that RPCNFSDCOUNT=8 is set to an appropriate number of NFS daemons.

4. Start nfsd using the /etc/rc.d/init.d/nfs start command.

Was this article helpful?

0 0

Post a comment