Re: Optimal NFS mount options to safely allow interrupts and timeouts on newer kernels

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

 



> From: "Jim Rees" <rees@xxxxxxxxx>
> Andrew Martin wrote:
> 
>   > From: "Jim Rees" <rees@xxxxxxxxx>
>   > Given this is apache, I think if I were doing this I'd use
>   > ro,soft,intr,tcp
>   > and not try to write anything to nfs.
>   I was using tcp,bg,soft,intr when this problem occurred. I do not know if
>   apache was attempting to do a write or a read, but it seems that
>   tcp,soft,intr
>   was not sufficient to prevent the problem.
> 
> I had the impression from your original message that you were not using
> "soft" and were asking if it's safe to use it. Are you saying that even with
> the "soft" option the apache gets stuck forever?
Yes, even with soft, it gets stuck forever. I had been using tcp,bg,soft,intr
when the problem occurred (on several ocassions), so my original question was
if it would be safe to use a small timeo and retrans values to hopefully 
return I/O errors quickly to the application, rather than blocking forever 
(which causes the high load and inevitable reboot). It sounds like that isn't
safe, but perhaps there is another way to resolve this problem?
--
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