title: Polling NFS share from java breaks filesystem
body: <p>We've got two servers having a directory mapped via NFS to each of them.</p>
  
  <p>Process on server A (shell script) places file into mapped drive.</p>
  
  <p>Java process on server B regularly polls mapped drive and processes the file as soon as it is found. After file is processed - it is renamed (and deleted by cron'ed process on server A afterwards)</p>
  
  <p>The file is a small .properties file. Everything works well for couple of cycles. After that server A and server B start to see contents of mapped drive differently. We disabled NFS caching and attribute lookup. Problem is still there.</p>
  
  <p>If I go to a server which has broken view and do:</p>
  
  <pre><code>ls
  </code></pre>
  
  <p>I'll see stalled files. BUT, if I do it again - correct file listing is printed.</p>
  
  <p>We'd appreciate any help on the issue.</p>