Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Slow NFS Export
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
joycea
Apprentice
Apprentice


Joined: 23 Jul 2002
Posts: 191
Location: Kingston, Canada

PostPosted: Sun Aug 03, 2003 9:15 am    Post subject: Slow NFS Export Reply with quote

How long does it typically take for other computers to export their NFS directories? When booting I am faced with a 'Exporting NFS Directories' message for an obscenely long time, something on the order of twenty to thirty seconds. Is this an expected amount of time for the NFS shares to setup?
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Sun Aug 03, 2003 9:46 am    Post subject: Reply with quote

/usr/portage/net-fs/nfs-utils/ChangeLog:
Code:

 19 Jul 2003; Aron Griffis <agriffis@gentoo.org> nfs-utils-1.0.5-r1.ebuild,
  files/nfs-2:
  Change exportfs timeouts from 5 seconds to 30 seconds to prevent prematurely
  killing exportfs


And I changed it back to 5 because 30 got on my nerves @ boot.
Back to top
View user's profile Send private message
Beekster
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 268
Location: Sydney

PostPosted: Sun Aug 03, 2003 10:56 am    Post subject: Reply with quote

This was driving me nuts too. For those still wondering where to make the changes back, look for the "sleep 30"s in /etc/init.d/nfs - there are three.
Back to top
View user's profile Send private message
jlowell
Guru
Guru


Joined: 08 Jan 2003
Posts: 389

PostPosted: Sun Aug 03, 2003 4:58 pm    Post subject: Reply with quote

Yes, it does take a little time, doesn't it.. :D

I'm sure the change to 30 seconds from 5 was not made without thought, however. If problems were being experienced at 5 seconds for some networks and the file system you were exporting were not all that large, where might you set the timeouts to avoid the long wait yet still have reasonable confidence that you're exporting everything. I'd guess the 30 second time out was set to accomodate just about everything out there but, lets face it, this isn't General Motors here.

Any thoughts on settings for a four machine small business network?

jlowell
Back to top
View user's profile Send private message
joycea
Apprentice
Apprentice


Joined: 23 Jul 2002
Posts: 191
Location: Kingston, Canada

PostPosted: Sun Aug 03, 2003 6:29 pm    Post subject: Reply with quote

But isn't there a more efficient way we could approach this? Such as, sleeping one second in a loop checking to see if the process is still alive every second and then killing it if it reaches a thirty second limit? That was there is a possibility to break out after a short time if it is appropriate. For instance, I have one mount export on my system and it takes all of microseconds to complete. If I have to wait one second, so be it, but waiting thirty by default is absurd.
Back to top
View user's profile Send private message
sa
Guru
Guru


Joined: 10 Jun 2002
Posts: 450

PostPosted: Sun Aug 03, 2003 9:00 pm    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=25799
Back to top
View user's profile Send private message
joycea
Apprentice
Apprentice


Joined: 23 Jul 2002
Posts: 191
Location: Kingston, Canada

PostPosted: Sun Aug 03, 2003 10:32 pm    Post subject: Reply with quote

Thanks very much sa! That was the sort of thing I had in mind for this.
Back to top
View user's profile Send private message
tam
Guru
Guru


Joined: 04 Mar 2003
Posts: 569

PostPosted: Wed Sep 17, 2003 5:08 pm    Post subject: Reply with quote

Ahhh, I like this forum. (: Thanks for your help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum