RPC slots count exported to userland
Subsystems (2)
Is there a place where a summary of the same table which gets dumped out by "echo 0 > /proc/sys/sunrpc/debug" is exported normally to userland?
"nfsstat" accesses /proc/net/rpc/nfs and /proc/net/rpc/nfsd but they just seem to be running counts. It would be nice to set up a way to monitor when the system is close to running out of RPC slots so we can try to kick out whatever mount might be stuck or similar to avoid an entire outage.
Cheers,
Simon-
Quoted 8 lines · Simon Kirby
Is there a place where a summary of the same table which gets dumped out by "echo 0 >
/proc/sys/sunrpc/debug" is exported normally to userland?"nfsstat" accesses
/proc/net/rpc/nfsand/proc/net/rpc/nfsdbut they just seem to be running counts. It would be nice to set up a way to monitor when the system is close to running out of RPC slots so we can try to kick out whatever mount might be stuck or similar to avoid an entire outage.
You should be able to get that information from/proc/self/mountstats
See the 'mountstats' python script in recent nfs-utils sources for details.
Cheers
Trond
Signature · 6 lines
Trond Myklebust Linux NFS client maintainer NetApp [email protected] www.netapp.com