All of lore.kernel.org
 help / color / mirror / Atom feed
* NFS4 over VPN hangs when connecting > 2 clients
@ 2012-03-11  1:34 Nikolaus Rath
  2012-03-12 16:20 ` Nikolaus Rath
  0 siblings, 1 reply; 46+ messages in thread
From: Nikolaus Rath @ 2012-03-11  1:34 UTC (permalink / raw)
  To: linux-nfs

Hello,

I am experiencing system hangs when running NFSv4 over a tinc VPN. I
don't know if the problem is with NFS or tinc and would appreciate any
suggestions on how to narrow down the culprit. Unfortunately I cannot
simply run NFS directly over TCP -- the participating systems are
connected only over an open network.

The configuration is as follows: I have a main server that exports the
NFS shares and also acts as hub for the VPN. All other clients connect
to the main server to establish the VPN, and then mount the NFS shares
over the VPN.

I am using kernel 3.0.0, 64bit Ubuntu 10.04 LTS on both server and
clients.

On the server:
# cat /etc/exports
/srv/nfs4 -ro,no_subtree_check,fsid=root 192.168.1.1/24
/srv/nfs4/home -rw,async,no_subtree_check 192.168.1.1/24
/srv/nfs4/opt -rw,async,no_subtree_check 192.168.1.1/24
/srv/nfs4/hbt -rw,async,no_subtree_check 192.168.1.1/24

On the clients:
# cat /etc/hostconf/all/etc/fstab | grep -i nfs
spitzer:/opt /opt        nfs4    bg 0  0
spitzer:/home /home          nfs4    bg 0  0

The problem is that as soon as more than three clients are accessing the
NFS shares, any operations on the NFS mountpoints by the clients hang.
At the same time, CPU usage of the VPN processes becomes very high. If I
run the VPN in debug mode, all I can see is that it is busy forwarding
lots of packets. I also ran a packet sniffer which showed me that 90% of
the packets were NFS related, but I am not familiar enough with NFS to
be able to tell anything from the packets themselves. I can provide an
example of the dump if that helps.


Any suggestions how I could further debug this?


Best,


   -Nikolaus

-- 
 »Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C

^ permalink raw reply	[flat|nested] 46+ messages in thread

end of thread, other threads:[~2012-03-20 16:49 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-11  1:34 NFS4 over VPN hangs when connecting > 2 clients Nikolaus Rath
2012-03-12 16:20 ` Nikolaus Rath
2012-03-12 19:31   ` J. Bruce Fields
2012-03-12 19:45     ` Nikolaus Rath
2012-03-12 20:15       ` J. Bruce Fields
2012-03-12 20:30         ` Nikolaus Rath
2012-03-12 20:42           ` J. Bruce Fields
2012-03-12 20:49             ` Chuck Lever
2012-03-12 21:04               ` J. Bruce Fields
2012-03-12 21:14                 ` Chuck Lever
2012-03-12 21:27                   ` J. Bruce Fields
2012-03-19 16:28                     ` J. Bruce Fields
2012-03-19 16:44                       ` [nfsv4] " Rick Macklem
2012-03-19 17:06                         ` Rick Macklem
2012-03-19 17:36                           ` J. Bruce Fields
2012-03-19 17:47                             ` Chuck Lever
2012-03-19 18:24                               ` Myklebust, Trond
2012-03-19 18:27                               ` J. Bruce Fields
2012-03-19 18:29                                 ` Chuck Lever
2012-03-19 18:39                                   ` J. Bruce Fields
2012-03-19 18:42                                     ` Chuck Lever
2012-03-19 18:54                                       ` J. Bruce Fields
2012-03-19 19:00                                         ` Chuck Lever
2012-03-19 19:08                                           ` J. Bruce Fields
2012-03-19 18:43                                     ` Nikolaus Rath
2012-03-19 22:25                                       ` Rick Macklem
2012-03-20 13:29                                         ` Nikolaus Rath
2012-03-20 13:55                                           ` Myklebust, Trond
2012-03-20 14:36                                             ` Nikolaus Rath
2012-03-20 16:49                                               ` Myklebust, Trond
2012-03-20 14:01                                           ` Chuck Lever
2012-03-20 14:38                                             ` Nikolaus Rath
2012-03-20 15:53                                               ` Chuck Lever
2012-03-19 18:51                                     ` Nikolaus Rath
2012-03-19 18:56                                       ` J. Bruce Fields
2012-03-19 22:31                               ` Rick Macklem
2012-03-19 18:26                       ` Myklebust, Trond
2012-03-12 21:24         ` Nikolaus Rath
2012-03-12 21:27           ` Chuck Lever
2012-03-12 21:38             ` Nikolaus Rath
2012-03-12 21:46               ` Chuck Lever
2012-03-12 21:54                 ` Chuck Lever
2012-03-12 21:54                 ` Nikolaus Rath
2012-03-12 21:57                 ` Myklebust, Trond
2012-03-13 13:23                   ` Nikolaus Rath
2012-03-13 14:50                     ` Myklebust, Trond

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.