From owner-freebsd-stable@FreeBSD.ORG Thu Jul 1 20:53:52 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91D00106566C for ; Thu, 1 Jul 2010 20:53:52 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta10.emeryville.ca.mail.comcast.net (qmta10.emeryville.ca.mail.comcast.net [76.96.30.17]) by mx1.freebsd.org (Postfix) with ESMTP id 79F678FC0A for ; Thu, 1 Jul 2010 20:53:52 +0000 (UTC) Received: from omta20.emeryville.ca.mail.comcast.net ([76.96.30.87]) by qmta10.emeryville.ca.mail.comcast.net with comcast id cdFm1e0021smiN4AAktsjp; Thu, 01 Jul 2010 20:53:52 +0000 Received: from koitsu.dyndns.org ([98.248.46.159]) by omta20.emeryville.ca.mail.comcast.net with comcast id cktr1e0043S48mS8gktraR; Thu, 01 Jul 2010 20:53:51 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 093609B425; Thu, 1 Jul 2010 13:53:51 -0700 (PDT) Date: Thu, 1 Jul 2010 13:53:50 -0700 From: Jeremy Chadwick To: alan bryan Message-ID: <20100701205350.GA6690@icarus.home.lan> References: <425902.41392.qm@web50501.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <425902.41392.qm@web50501.mail.re2.yahoo.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-stable@freebsd.org Subject: Re: NFS 75 second stall X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2010 20:53:52 -0000 On Thu, Jul 01, 2010 at 11:01:04AM -0700, alan bryan wrote: > Setup: > > server - FreeBSD 8-stable from today.  2 UFS dirs exported via NFS. > client - FreeBSD 8.0-Release. Running a test php script that copies around various files to/from 2 separate NFS mounts. > > Situation: > > script is started (forked to do 20 simultaneous runs) and 20 1GB files are copied to the NFS dir which works fine.  When it then switches to reading those files back and simultaneously writing to the other NFS mount I see a hang of 75 seconds.  If I do an "ls -l" on the NFS mount it hangs too.  After 75 seconds the client has reported: > > nfs server 192.168.10.133:/usr/local/export1: not responding > nfs server 192.168.10.133:/usr/local/export1: is alive again > nfs server 192.168.10.133:/usr/local/export1: not responding > nfs server 192.168.10.133:/usr/local/export1: is alive again > > and then things start working again.  The server was originally FreeBSD 8.0-Release also but was upgraded to the latest stable to see if this issue could be avoided. > > ... > > Any ideas on what's going on here? What's causing the complete stall period of zero NFS activity? Any flaws with my testing methods? One thing worth asking: are there any firewall stacks (ipfw, ipfilter, or pf) in use on either the client or server? -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |