Public bug reported:

Binary package hint: nfs-common

I have two computers, both with a fully-updated Jaunty (09.04). One
working as nfs4 server, the other as client. Software version is
1:1.1.4-1ubuntu1 for both of the packages nfs-common and nfs-kernel-
server (the client does not have nfs-kernel-server of course).

The home directory of the (primary) user on the client is mounted from the nfs4 
server.
The client suspends to ram when idle. Very often (not every time) when it 
resumes, the machine is completely unresponsive. It is possible to log in as 
another user, but this locks up also if you try to access files within the 
primary users's home directory.
It takes exactly 5 minutes for the client to recover. From then on everything 
works perfectly.

dmesg on the client reports:
[75482.166199] PM: Finishing wakeup.
[75482.166204] Restarting tasks ... done.
[75662.192034] nfs: server bbb not responding, still trying
[75782.196210] nfs: server bbb not responding, timed out
[75782.196275] nfs: server bbb not responding, timed out
[75782.200537] nfs: server bbb OK

You see the delay of 5 minutes here (to the second).
On the server side, logs contain no useful data, but WireShark reports (sorry 
for the transcript, but my trace contains passwords etc.):
Time 77: Client sends nfs4 COMPOUND call to server
Time 77: Server responds with a TCP RST
TIme 377: Client re-opens socket (the usual SYN, SYN+ACK, ACK sequence)
Time 377: Client repeats the same nfs4 COMPOUND call

I propose that this is the same problem that is discussed in:
http://linux-nfs.org/pipermail/nfsv4/2008-December/009616.html
http://marc.info/?l=linux-nfs&m=122477622004792&w=2
http://bugzilla.kernel.org/show_bug.cgi?id=11154

... and that the fix might be found in the following two patches attached to 
the last page:
http://bugzilla.kernel.org/attachment.cgi?id=18426 (comment #18)
http://bugzilla.kernel.org/attachment.cgi?id=18427 (comment #19)

If I'm guessing correctly, it would be nice if this could go into the
repositories. I have never built from sources, and I'm kind of lazy
(sorry, folks!)

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: nfs-common 1:1.1.4-1ubuntu1
ProcEnviron:
 LANG=da_DK.UTF-8
 SHELL=/bin/bash
SourcePackage: nfs-utils
Uname: Linux 2.6.28-11-generic i686

** Affects: nfs-utils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: i386 nfs4 suspend

-- 
5-minute delay in nfs4 client after suspend/resume
https://bugs.launchpad.net/bugs/379385
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to