Linux NFS development
 help / color / mirror / Atom feed
From: James Pearson <james-p@moving-picture.com>
To: linux-nfs@vger.kernel.org
Subject: Re: Problems with Mac clients mounting a Linux server behind a firewall
Date: Mon, 22 Dec 2008 16:53:57 +0000	[thread overview]
Message-ID: <494FC625.4040207@moving-picture.com> (raw)
In-Reply-To: <a92ebfd90812191452l4b10362av5e9c8876335c32bc@mail.gmail.com>

James Pearson wrote:
> I'm not absolutely sure if this is an NFS server issue, but I have an
> Linux NFS server running CentOS4 that sits behind a firewall - about
> once a week rpciod ends up using 99% CPU and the machine needs to be
> rebooted
> 
> When it gets into this state, running 'netstat -u -a' shows thousands
> of entries like:
> 
> udp        0      0 *:35071                     *:*
> udp        0      0 *:34815                     *:*
> udp        0      0 *:34559                     *:*
> udp        0      0 *:34303                     *:*
> udp        0      0 *:34047                     *:*
> udp        0      0 *:33791                     *:*
> udp        0      0 *:33535                     *:*
> udp        0      0 *:33279                     *:*
> udp        0      0 *:33151                     *:*
> udp        0      0 *:32895                     *:*
> 
> and tcpdump shows lots of udp connection attempts to port 111 on
> various Macs that are or have mounted the server (via an automounter).
> The connections don't get through as they are blocked by the firewall.
> None of these blocked connections are to Linux clients - it's just Mac
> clients
> 
> Is there anything that NFS server-wise that could be cause the server
> to attempt to contact clients in this way?

Running wireshark over the tcpdump output, all these portmap calls are like:

User Datagram Protocol, Src Port: 51947 (51947), Dst Port: sunrpc (111)
Remote Procedure Call, Type:Call XID:0xacd4150f
Portmap GETPORT Call NLM(100021) Version:4 UDP
     [Program Version: 2]
     [V2 Procedure: GETPORT (3)]
     Program: NLM (100021)
     Version: 4
     Proto: UDP (17)
     Port: 0

Why would an NFS server need to initiate a call to the lockd process on 
a (MacOS) client?

Thanks

James Pearson

  reply	other threads:[~2008-12-22 17:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-19 22:52 Problems with Mac clients mounting a Linux server behind a firewall James Pearson
2008-12-22 16:53 ` James Pearson [this message]
2008-12-22 17:23   ` J. Bruce Fields
2008-12-22 20:36     ` James Pearson
2009-01-02  0:29       ` J. Bruce Fields

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=494FC625.4040207@moving-picture.com \
    --to=james-p@moving-picture.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