View previous topic :: View next topic |
Author |
Message |
joycea Apprentice
Joined: 23 Jul 2002 Posts: 191 Location: Kingston, Canada
|
Posted: Sun Aug 03, 2003 9:15 am Post subject: Slow NFS Export |
|
|
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 |
|
|
AlterEgo Veteran
Joined: 25 Apr 2002 Posts: 1619
|
Posted: Sun Aug 03, 2003 9:46 am Post subject: |
|
|
/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 |
|
|
Beekster Apprentice
Joined: 26 Nov 2002 Posts: 268 Location: Sydney
|
Posted: Sun Aug 03, 2003 10:56 am Post subject: |
|
|
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 |
|
|
jlowell Guru
Joined: 08 Jan 2003 Posts: 389
|
Posted: Sun Aug 03, 2003 4:58 pm Post subject: |
|
|
Yes, it does take a little time, doesn't it..
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 |
|
|
joycea Apprentice
Joined: 23 Jul 2002 Posts: 191 Location: Kingston, Canada
|
Posted: Sun Aug 03, 2003 6:29 pm Post subject: |
|
|
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 |
|
|
sa Guru
Joined: 10 Jun 2002 Posts: 450
|
|
Back to top |
|
|
joycea Apprentice
Joined: 23 Jul 2002 Posts: 191 Location: Kingston, Canada
|
Posted: Sun Aug 03, 2003 10:32 pm Post subject: |
|
|
Thanks very much sa! That was the sort of thing I had in mind for this. |
|
Back to top |
|
|
tam Guru
Joined: 04 Mar 2003 Posts: 569
|
Posted: Wed Sep 17, 2003 5:08 pm Post subject: |
|
|
Ahhh, I like this forum. (: Thanks for your help. |
|
Back to top |
|
|
|