We are having an issue that happens intermittently during a code deployment. NFS caches the files as they are read, but if a file is read during a code deploy it stays in a dirty state as if the file wasn't changed during the deploy. The only way we can alleviate this issue is by clearing the NFS cache after the deploy.
Our webserver returns blank pages for all requests until the NFS cache is cleared.
Is there a setting or does anyone have a suggestion on how to fix this?
We are running NFS v3 at the moment.
Best Answer
Exists different options to cache file attribute on a NFS mount (client side):
Taken from the NFS man page.
I hope this help.