From owner-freebsd-isp@FreeBSD.ORG Tue Apr 11 22:20:40 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8066C16A400 for ; Tue, 11 Apr 2006 22:20:40 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFE0A43D49 for ; Tue, 11 Apr 2006 22:20:39 +0000 (GMT) (envelope-from lists@stringsutils.com) Received: from zoraida.natserv.net (localhost.natserv.net [127.0.0.1]) by zoraida.natserv.net (Postfix) with ESMTP id 6BA67B822 for ; Tue, 11 Apr 2006 18:20:38 -0400 (EDT) Received: from zoraida.natserv.net (zoraida.natserv.net [66.114.65.147]) by zoraida.natserv.net (Postfix) with ESMTP id 23DDEB81D for ; Tue, 11 Apr 2006 18:20:38 -0400 (EDT) Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Francisco Reyes To: FreeBSD ISP Date: Tue, 11 Apr 2006 18:20:37 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: What machine connected to particular nfsd? X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Apr 2006 22:20:40 -0000 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.