linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ray Van Dolson <rvandolson@esri.com>
To: "linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>
Subject: Re: NFS server responds to SYN with ACK only
Date: Thu, 21 Jul 2011 09:51:51 -0700	[thread overview]
Message-ID: <20110721165150.GA18456@esri.com> (raw)
In-Reply-To: <20110720192341.GA18167@esri.com>

On Wed, Jul 20, 2011 at 12:23:42PM -0700, Ray Van Dolson wrote:
> We have a couple legacy CentOS (RHEL)-based appliances with slightly
> dated NFS implementations.
> 
> Server (CentOS 4 based):
> 
>     nfs-utils-1.0.6-70.EL4
>     Kernel 2.6.9-42.0.10.plus.c4smp
> 
> Client (CentOS 5 based):
> 
>     nfs-utils-1.0.9-42.el5.x86_64
>     Kernel 2.6.18-164.15.1.el5
> 
> The client has a long-lived NFSv3 mount to the server that sometimes
> stops responding (blocks).  We can lazy unmount it, but subsequent
> mount requests hang and the following is observed via tcpdump:
> 
>     1. Client GETPORT for NFS service succeeds.
>     2. Client GETPORT for MOUNT succeeds
>     3. Client MNT call succeeds (server gives valid response including
>        file handle)
>     4. Client sends a SYN packet to NFS port on server
>     5. Server responds with ACK *only*
> 
> When we bounce the NFS daemon on the server, everything starts working
> and in step 5 above, we get a SYN,ACK as expected in response to #4,
> and everything proceeds along nicely.
> 
> Does this jog anybody on a long-ago fixed bug?  I'm thinking updating
> the kernel and nfs-utils on the server will likely help, but would love
> to find where behavior like the above is referenced as a "bug".
> 
> Thanks,
> Ray

After thinking on this a bit more, I'm wondering if perhaps the server
side had a connection still "open" (didn't check with netstat) and thus
sent back only the ACK.

Maybe in this case the client should respond with a RST or something
else to indicate we need to start from scratch?

Is there a way, on the server side to kill an ESTABLISHED TCP
connection (specifically an NFS connection?)?  Probably setting a
connection timeout value via /proc ...

I'm thinking on the client side I could inject a RST packet to the
server to clean things up?

Ray

      reply	other threads:[~2011-07-21 16:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-20 19:23 NFS server responds to SYN with ACK only Ray Van Dolson
2011-07-21 16:51 ` Ray Van Dolson [this message]

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=20110721165150.GA18456@esri.com \
    --to=rvandolson@esri.com \
    --cc=linux-nfs@vger.kernel.org \
    /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).