[Leaplist] Any suggestions on resolving "Stale NFS file handle" errors?

Bryan J Smith b.j.smith at ieee.org
Sat Dec 13 10:47:30 EST 2008


On Sat, 2008-12-13 at 08:36 -0500, Andrew wrote:
> While moving to a setup where there is only 1 writer and multiple  
> readers is your best strategy, in the near term you might want to try  
> setting some of the timeout/caching options lower than their defaults.
> You can start with actimeo to see if it helps, and then if it does,  
> you can try the acdir/acreg min/max values individually to see which  
> one helps the most.  Another option to look at is noac -- it's  
> intended for this type of situation, but you take a performance hit  
> when you use it;  of course, working slower is better than broken.

Understand that "noac" will significantly impact (possibly several
orders of magnitude?) the performance of a web server, as each and every
access will result in a RPC call and associated latency.  But it will
likely solve some of your issues.

Also, I should have asked this, you are mounting the filesystem on the
server with "noatime", correct?  That's highly recommended on anything
serviced to a web server.


-- 
Bryan J  Smith                Professional, Technical Annoyance
Mugshot Homepage:  http://mugshot.org/person?who=58wDcGKx6NcZAb
---------------------------------------------------------------
           Fission Power:  An Inconvenient Solution            


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Leaplist mailing list