Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2006 18:20:37 -0400
From:      Francisco Reyes <lists@stringsutils.com>
To:        FreeBSD ISP <freebsd-isp@freebsd.org>
Subject:   What machine connected to particular nfsd?
Message-ID:  <cone.1144794037.918896.59848.1000@zoraida.natserv.net>

next in thread | raw e-mail | index | archive | help
I had an nfsd proces which was using up all the I/O the machine could 
handle. I could kill it, but another nfsd will again will just pickup
the process.

I am basically trying to tie up the process ID from ps/top to a particular 
machine connecting to that particular nfsd daemon.

So.. figure I start out in top, then "m" to view I/O, then o "total"  to 
sort..

I see an nfsd with let's say a process ID (PID) 419 doing hundreds of 
transactions per second.. and vmstat "b" column shows the HDs are
falling behind with nearly 200 transactions pending.. I now want to find 
what machine is connected to the nfsd with PID 419

My guess is that a program was having problems and was doing lots of 
transactions... at the client.. problem is that I don't know which
client machine.

I tried tcpdump, but that pretty much showed me all the nfs clients. :-(

Anyone else with NFS servers have had to deal with a rogue client? In 
particular finding out which client it is.

Running FreeBSD 6 Stable as of early january 06.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cone.1144794037.918896.59848.1000>