Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #2311

Re: NFS - only one client at a time can read files

From Chris Davies <chris-usenet@roaima.co.uk>
Newsgroups comp.os.linux.networking
Subject Re: NFS - only one client at a time can read files
Date 2013-09-20 16:54 +0100
Organization Roaima. Harrogate, North Yorkshire, UK
Message-ID <cm7ugaxuip.ln2@news.roaima.co.uk> (permalink)
References <u-CdnZ-i5OsXy6HPnZ2dnUVZ8s-dnZ2d@lyse.net>

Show all headers | View raw


David Brown <david@westcontrol.removethisbit.com> wrote:
> I have a strange problem with NFS.

> If I watch the progress of the rsyncs, I can see one card will run for
> a bit, then stop and complain about nfs timeouts. Another card will
> run for a bit, before it too stops with a timeout. This goes back and
> forth - at any given time, only one client is successfully reading.

This sounds like you don't have anywhere near enough rpc/nfsd daemons
on your NFS server.

On my Debian box there's a file /etc/default/nfs-kernel-server that
defines the number of kernel nfsd "processes" to start at boot time. (I
don't know where your equivalent configuration file will live.) The
default on my system is 8, but you probably want to increase it to 32
or even 64.

To test the theory, count the number of nfsd processes already running
    ps -ef | grep -w '[n]fsd' | wc -l

And then increase it, for example from 8 to 32
    nfsd 32

If this works, you can configure it for boot-time.
Chris

Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

NFS - only one client at a time can read files David Brown <david@westcontrol.removethisbit.com> - 2013-09-20 16:07 +0200
  Re: NFS - only one client at a time can read files unruh <unruh@invalid.ca> - 2013-09-20 15:15 +0000
    Re: NFS - only one client at a time can read files David Brown <david@westcontrol.removethisbit.com> - 2013-09-23 09:28 +0200
  Re: NFS - only one client at a time can read files Chris Davies <chris-usenet@roaima.co.uk> - 2013-09-20 16:54 +0100
    Re: NFS - only one client at a time can read files David Brown <david@westcontrol.removethisbit.com> - 2013-09-23 09:44 +0200
      Re: NFS - only one client at a time can read files David Brown <david@westcontrol.removethisbit.com> - 2013-09-23 11:51 +0200
      Re: NFS - only one client at a time can read files Chris Davies <chris-usenet@roaima.co.uk> - 2013-09-27 10:40 +0100
  Re: NFS - only one client at a time can read files Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2013-09-20 20:37 +0300
    Re: NFS - only one client at a time can read files Chris Davies <chris-usenet@roaima.co.uk> - 2013-09-21 14:00 +0100
      Re: NFS - only one client at a time can read files Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2013-09-21 18:18 +0300
      Re: NFS - only one client at a time can read files David Brown <david@westcontrol.removethisbit.com> - 2013-09-23 09:34 +0200
  Re: NFS - only one client at a time can read files David Brown <david@westcontrol.removethisbit.com> - 2013-10-10 16:28 +0200

csiph-web