linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* hang on existing systems when exporting NFS share to new systems
@ 2010-07-28 13:44 Jason Keltz
  2010-07-28 17:42 ` J. Bruce Fields
  0 siblings, 1 reply; 6+ messages in thread
From: Jason Keltz @ 2010-07-28 13:44 UTC (permalink / raw)
  To: linux-nfs

Hi.

My list of NFS exports has been gradually growing over the years.  Right 
now, for example, my home directories are exported to around 800 hosts. 
(although only a relatively small subset of those will mount at the same 
time...).  I used to just add hosts to /etc/exports on the file server, 
and run "exportfs -r", and everything would be fine.  New systems would 
be able to mount everything perfectly, and existing systems would not be 
affected at all.  As the list has grown, I've been noticing a problem. 
Now, when I run exportfs -r, there is an approximate 7-10 second hang on 
the systems that have already mounted the share, and then everything 
returns to normal.  This doesn't happen *while* exportfs -r is running, 
but just after it exits.  I figured that maybe exportfs was 
"unexporting"/re-exporting to hosts that already had the share in use 
which might have caused the problem, so I tried to manually add/remove 
hosts thinking that this would only affect those hosts, but it did not. 
Exporting to one new host still causes the hang on all existing hosts.

Since I have multiple exports to all of the hosts, adding one new host 
can hang things for a while.  I can see that reducing the list of 
exports, or hosts would reduce the delay.  What I am wondering is if 
there is a better way that I can add hosts without affecting 
connectivity to existing hosts?

The NFS server itself is pretty powerful -- dual quad core box, lots of 
memory, many NFS threads, exclusive NFS server, etc...  I am running an 
older RHEL4 release though, so it would have an older kernel/NFS system. 
  Maybe this issue has been solved in newer releases.

Any feedback would be helpful.

Thanks!

Jason.


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

end of thread, other threads:[~2010-10-04 15:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-28 13:44 hang on existing systems when exporting NFS share to new systems Jason Keltz
2010-07-28 17:42 ` J. Bruce Fields
2010-07-31  2:07   ` Jason Keltz
     [not found]     ` <4C53855F.5060201-Au2wK/vbkGRbjDw2KniTvg@public.gmane.org>
2010-10-03 21:13       ` J. Bruce Fields
2010-10-04 13:21         ` Jason Keltz
     [not found]           ` <4CA9D4BC.1060201-Au2wK/vbkGRbjDw2KniTvg@public.gmane.org>
2010-10-04 15:52             ` J. Bruce Fields

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).