From owner-freebsd-stable@FreeBSD.ORG Thu Jul 1 20:59:58 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 379B31065672 for ; Thu, 1 Jul 2010 20:59:58 +0000 (UTC) (envelope-from alan.bryan@yahoo.com) Received: from web50506.mail.re2.yahoo.com (web50506.mail.re2.yahoo.com [206.190.38.82]) by mx1.freebsd.org (Postfix) with SMTP id E70DD8FC0A for ; Thu, 1 Jul 2010 20:59:57 +0000 (UTC) Received: (qmail 90146 invoked by uid 60001); 1 Jul 2010 20:59:57 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1278017997; bh=EoXu7sWwwjt4tPh323qpVYPF2BJviGxtMPN9D11+n/8=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=LfpbgLTu7AJf3K1Ag8Vx7eBProC9xKg55JSax4PHebr6c1e1qZN6a/K+W91NyAFvphZDk9nH7F7GSMKD26H3LAO2IP9qSP7U6ed0PeqL7B7ssV1ld8hpsz3Ll5lDXi7nPrZMoZE7lCEXzGm9NvLpFLswzmyB/mW5GfZIkIG810Y= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=TlL4CuDuCn9iC7xBBsMz84CFQEVtWkbnpsp19fNjow/vQVZ0M/tEUbhSP0k7qyRrsrevs2eiAChZLPVoyjwBz3dNnfsu0ZDlXVUQmIRlQm0t7YL4A5Spv4wu1rW7k2siUDgm3fY59C0sOb96L9gXI4q5wN9jbdZNVNHBjEx+sHk=; Message-ID: <173056.89627.qm@web50506.mail.re2.yahoo.com> X-YMail-OSG: M6FVTvAVM1md85BhBL8Wiyy5WG0DAMc1B6mi9HvnittqLcu i7tyW6y1ZCOxR0n3.JSaiIK93VOQqNicUL2tB7qfSgGczq2OWAoXpoICOPbe KzIWY3l0a.k3vQs55WReN.zyiykaLI2LESiKa8TVwcI12kDjP1EOA40xUz86 axJpXZdcJyP5e3AeuuO0ziY_jhOebys1Aed9NAMWqP10h5LFst2Z67LjDOUz 12l95Z4BUvQaB949Hp9_aPNO.flyqtG98zrWxElw0Vq3kU5WKgYPNJzDoCDT 7ES0D18tD5idxWhEkxyeNEOAPh1425eExle.snPQdIDhPAOIsQzTDtmRrQkg MfQ-- Received: from [99.24.6.121] by web50506.mail.re2.yahoo.com via HTTP; Thu, 01 Jul 2010 13:59:57 PDT X-Mailer: YahooMailClassic/11.1.4 YahooMailWebService/0.8.104.274457 Date: Thu, 1 Jul 2010 13:59:57 -0700 (PDT) From: alan bryan To: Jeremy Chadwick In-Reply-To: <20100701205350.GA6690@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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:59:58 -0000 =0A=0A--- On Thu, 7/1/10, Jeremy Chadwick wrote:= =0A=0A> From: Jeremy Chadwick =0A> Subject: Re: N= FS 75 second stall=0A> To: "alan bryan" =0A> Cc: free= bsd-stable@freebsd.org=0A> Date: Thursday, July 1, 2010, 1:53 PM=0A> On Thu= , Jul 01, 2010 at 11:01:04AM=0A> -0700, alan bryan wrote:=0A> > Setup:=0A> = > =0A> > server - FreeBSD 8-stable from today.=A0 2 UFS dirs=0A> exported v= ia NFS.=0A> > client - FreeBSD 8.0-Release.=A0 Running a test php=0A> scrip= t that copies around various files to/from 2 separate=0A> NFS mounts.=0A> >= =0A> > Situation: =0A> > =0A> > script is started (forked to do 20 simulta= neous runs)=0A> and 20 1GB files are copied to the NFS dir which works=0A> = fine.=A0 When it then switches to reading those files back=0A> and simultan= eously writing to the other NFS mount I see a=0A> hang of 75 seconds.=A0 If= I do an "ls -l" on the NFS mount it=0A> hangs too.=A0 After 75 seconds the= client has reported:=0A> > =0A> > nfs server 192.168.10.133:/usr/local/exp= ort1: not=0A> responding=0A> > nfs server 192.168.10.133:/usr/local/export1= : is alive=0A> again=0A> > nfs server 192.168.10.133:/usr/local/export1: no= t=0A> responding=0A> > nfs server 192.168.10.133:/usr/local/export1: is ali= ve=0A> again =0A> > =0A> > and then things start working again.=A0 The serv= er was=0A> originally FreeBSD 8.0-Release also but was upgraded to the=0A> = latest stable to see if this issue could be avoided.=0A> >=0A> > ...=0A> > = =0A> > Any ideas on what's going on here?=A0 What's=0A> causing the complet= e stall period of zero NFS=0A> activity?=A0=A0=A0Any flaws with my testing= =0A> methods?=0A> =0A> One thing worth asking: are there any firewall stack= s=0A> (ipfw, ipfilter,=0A> or pf) in use on either the client or server?=0A= > =0A> -- =0A> | Jeremy Chadwick=A0 =A0 =A0 =A0 =A0 =A0=0A> =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0=0A> =A0 =A0 =A0=A0=A0jdc@parodius.com=0A> |=0A> | Parodius= Networking=A0 =A0 =A0 =A0 =A0=0A> =A0 =A0 =A0 =A0 =A0 =A0=A0=A0http://www.= parodius.com/ |=0A> | UNIX Systems Administrator=A0 =A0 =A0 =A0=0A> =A0 =A0= =A0 =A0 =A0 Mountain View, CA, USA |=0A> | Making life hard for others sin= ce 1977.=A0 =A0=0A> =A0 =A0 =A0 =A0 =A0 PGP: 4BD6C0CB |=0A> =0A> =0A=0A=0AN= ope, no firewalls - just 2 machines connected directly to a Dell 2716 Gbit = switch.=0A=0AThanks,=0AAlan=0A=0A=0A=0A