Our pool server disk is 100% busy.
I checked with iotop
and determined that nfsd
is the top process which consumes disk IO.
I need to narrow that down further and want to determine which of the NFS clients using the server is/are responsible for this disk IO bottleneck. How do I proceed?
Best Answer
iotop
and theno
- you will see which process reads and/or writes and how much to the HDD.Check the pid of that process and do
netstat -entp | grep <pid>
- that way you will see established tcp connection and from which address it's coming. Useenp
to check for both tcp and udp sessions.You can also do a
netstat -anp | grep 2049
- that way getting an ip address and pid, then correlate the pid to the one fromiotop
.