Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to list current NFSD_SERVER threads used

Status
Not open for further replies.
Aug 14, 2008
38
US

Is their a command to get the Number of max. NFS Servers (threads) currently running in a solaris 10 system. Trying to tune this option and am not sure how to tell how many are being used? Currently have this set to the default of 16 and am looking to increase it to 32.


Regards
 
ps -efL | grep nfsd might help. Columns 4 and 5 are the LWP (lightweight process = thread) ID and number of LWPs, respectively.

Annihilannic.
 
Executed the command with the following results.

Teradactyl# ps -efL | grep nfsd
daemon 2963 1 1 18 0 Oct 15 ? 0:00 /usr/lib/nfs/nfsd
daemon 2963 1 2 18 0 Oct 15 ? 0:00 /usr/lib/nfs/nfsd
daemon 2963 1 290 18 0 Oct 20 ? 3:21 /usr/lib/nfs/nfsd
daemon 2963 1 295 18 0 02:52:42 ? 0:30 /usr/lib/nfs/nfsd
daemon 2963 1 294 18 0 02:52:42 ? 0:31 /usr/lib/nfs/nfsd
daemon 2963 1 280 18 0 Oct 20 ? 3:30 /usr/lib/nfs/nfsd
daemon 2963 1 293 18 0 01:27:23 ? 0:34 /usr/lib/nfs/nfsd
daemon 2963 1 286 18 0 Oct 20 ? 3:23 /usr/lib/nfs/nfsd
daemon 2963 1 288 18 0 Oct 20 ? 3:22 /usr/lib/nfs/nfsd
daemon 2963 1 278 18 0 Oct 20 ? 3:32 /usr/lib/nfs/nfsd
daemon 2963 1 289 18 0 Oct 20 ? 3:21 /usr/lib/nfs/nfsd
daemon 2963 1 272 18 0 Oct 20 ? 3:31 /usr/lib/nfs/nfsd
daemon 2963 1 283 18 0 Oct 20 ? 3:31 /usr/lib/nfs/nfsd
daemon 2963 1 296 18 0 05:19:40 ? 0:25 /usr/lib/nfs/nfsd
daemon 2963 1 291 18 0 Oct 20 ? 3:21 /usr/lib/nfs/nfsd
daemon 2963 1 282 18 0 Oct 20 ? 3:30 /usr/lib/nfs/nfsd
daemon 2963 1 279 18 0 Oct 20 ? 3:30 /usr/lib/nfs/nfsd
daemon 2963 1 292 18 0 01:27:23 ? 0:34 /usr/lib/nfs/nfsd
root 5791 5778 1 1 0 09:03:27 pts/2 0:00 grep nfsd

If I have NFSD_SERVERS set at the default of 16...wouldn't this show 16 instead of 18? So if I increased the NFSD_SERVER to 32 I would then possibly see 34? Just try to get a handle on this NFS stuff
 
It's possible that 16 of those 18 threads are true "worker" threads, and the other 2 are either lazy... or they are management. :)

So, yes, you'll probably see 34.

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top