Re: why do attempts to access a nfs v3 filesystem (ro,soft) block the process for minutes at a time? (when the nfs server is down)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chuck Lever wrote:
On 07/16/2010 11:20 AM, Tom H wrote:

(also I noticed that it seems to timeout quicker with the mount options
set like (soft, timeo=7, retrans=3) which is unexpected, because they
are supposed to be the default)

They are the default settings for UDP mounts, but you didn't specify UDP. TCP is the default transport protocol, and has been for some time. TCP uses a long retransmit timeout. See nfs(5).

OK, I see that now. Thanks.!

However further experimentation with mount options (ro,soft,retrans=0,timeo=0,intr,proto=tcp) - requests to a failed nfs file-system still block the apache process for some apparently random time up to 3 minutes.

Cheers
T
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux