Return-Path: Received: from fieldses.org ([174.143.236.118]:60851 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755285Ab0A0RJN (ORCPT ); Wed, 27 Jan 2010 12:09:13 -0500 Date: Wed, 27 Jan 2010 12:10:45 -0500 From: "J. Bruce Fields" To: Whoop Whouzer Cc: Chuck Lever , "Muntz, Daniel" , Peter Chacko , linux-nfs@vger.kernel.org Subject: Re: nfs client performance while server is down Message-ID: <20100127171045.GC16308@fieldses.org> References: <1f808b4a1001230757i2027d32dxb48482ea7bf8e4ee@mail.gmail.com> <7A24DF798E223B4C9864E8F92E8C93EC0527810C@SACMVEXC1-PRD.hq.netapp.com> <0BA6F612-CE3A-47E9-B436-57E48506D769@oracle.com> <641EC97D-2252-41FB-AEE8-0F1B77B5EA65@oracle.com> <20100126232148.GA806@fieldses.org> Content-Type: text/plain; charset=utf-8 In-Reply-To: Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 On Wed, Jan 27, 2010 at 01:40:07AM +0100, Whoop Whouzer wrote: > Could be, although not very likely as it was also reported happening > with thunar (although I have not tested this myself). > But I am also experiencing similar problems with other applications > even gnome-terminal (basically all applications requiring (local) disk > access). > So this would led me to think it is some sub-process, that is used by > all application requiring disk access, that is to blame... You could patch the kernel to add printk()'s in statfs showing who is calling it (and with what path). But probably there's some tracing infrastructure that would make this possible without patching. --b. > > On Wed, Jan 27, 2010 at 12:21 AM, J. Bruce Fields wrote: > > On Mon, Jan 25, 2010 at 02:08:47PM -0500, Chuck Lever wrote: > >> On Jan 25, 2010, at 2:02 PM, Whoop Whouzer wrote: > >>> Ok, I did that, after shutting down the server and enabling debug > >>> trace I tried to open the home folder of the current account (totally > >>> unrelated to the nfsshare), it wouldn't open at all, I got no nautilus > >>> at all. During the time my cursor was in busy mode I got the following > >>> messages in kern.log (for ubuntu 10.04 client): > >>> Jan 25 19:30:13 whoop-desktop kernel: [  160.719262] NFS call  fsstat > >>> Jan 25 19:30:37 whoop-desktop kernel: [  184.458611] NFS: > >>> permission(0:16/74386), mask=0x10, res=0 > >>> Jan 25 19:30:37 whoop-desktop kernel: [  184.458647] NFS call  access > >>> Jan 25 19:30:43 whoop-desktop kernel: [  190.721086] nfs: server > >>> 192.168.1.130 not responding, timed out > >>> Jan 25 19:30:43 whoop-desktop kernel: [  190.721113] NFS reply statfs: > >>> -5 > >>> Jan 25 19:30:43 whoop-desktop kernel: [  190.721116] nfs_statfs: > >>> statfs error = 5 > > ... > >> This verifies that your client is attempting to access the NFS server, > >> but doesn't tell us which file it's attempting to access.  Essentially > >> the EIO means "failed to connect". > > > > I wonder if nautilus (or some library it uses) likes to regularly > > "statfs" all the filesystems it knows about? > > > > --b. > >