From: Simon Kirby <sim@hostway.ca>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: linux-nfs@vger.kernel.org
Subject: Re: NFS client/sunrpc getting stuck on 2.6.36
Date: Thu, 11 Nov 2010 00:49:15 -0800 [thread overview]
Message-ID: <20101111084915.GA9782@hostway.ca> (raw)
In-Reply-To: <1289452967.4062.10.camel@heimdal.trondhjem.org>
On Thu, Nov 11, 2010 at 01:22:47PM +0800, Trond Myklebust wrote:
> > 900ms matches the probably-silly nfs mount settings we're currently using:
> >
> > rw,hard,intr,tcp,timeo=9,retrans=3,rsize=8192,wsize=8192
> >
> > Full kernel log here: http://0x.ca/sim/ref/2.6.36_stuck_nfs/
>
> timeo=9 is a completely insane retransmit value for a tcp connection.
> Please use the default timeo=600, and all will work correctly.
So this setting is expected to produce an usually-working setup that
occasionally fails? :)
A short history of our experiences:
We first tried to use TCP mounts but found that, in some cases,
reconnection time to NFS servers after an NFS server crash and fail-over
to the backup node would take upwards of 10 minutes, even with timeouts
configured much lower than that. This was with 2.6.32-era NFS clients.
Clients with little or no activity to the affected mounts would normally
reconnect immediately, but active clients would usually hit this hanging
issue. Different client hosts would return to operation all at different
times (some took 5 minutes, some took 10 minutes, for example). I was
not able to reproduce this outside of production or I would have reported
it with steps to reproduce.
So, UDP worked around this issue for us, where I think this timeo value
is reasonable. In seeing these stuck NFS stuck issues, we replaced "udp"
with "tcp" without changing anything else to see if the problem stopped,
but we seem to be getting the same result.
We'll try with the default timeo and see if the problem recurs. Perhaps
the TCP reconnection times have improved or maybe there are other options
we can set to improve that case.
Simon-
next prev parent reply other threads:[~2010-11-11 8:49 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-11 2:35 NFS client/sunrpc getting stuck on 2.6.36 Simon Kirby
2010-11-11 5:22 ` Trond Myklebust
2010-11-11 8:49 ` Simon Kirby [this message]
2010-11-19 20:20 ` Simon Kirby
2010-11-19 21:24 ` Trond Myklebust
2010-11-19 22:03 ` Simon Kirby
2010-11-19 22:17 ` Trond Myklebust
2010-11-19 22:58 ` Simon Kirby
2010-11-19 23:17 ` Trond Myklebust
2010-11-21 6:43 ` Simon Kirby
2010-11-21 19:55 ` Trond Myklebust
2010-11-21 6:40 ` Simon Kirby
2010-11-21 19:54 ` Trond Myklebust
2010-11-24 5:18 ` Simon Kirby
2010-11-24 15:05 ` Trond Myklebust
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101111084915.GA9782@hostway.ca \
--to=sim@hostway.ca \
--cc=linux-nfs@vger.kernel.org \
--cc=trond.myklebust@fys.uio.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).