title: Client for NFS using increasing amount of CPU
body: <p>We have an issue with Microsoft’s client for NFS sometimes using a large amount of CPU (50-100%) when accessing a NFS share on a linux box.  </p>
  
  <p>The server seems to get in a state where accessing the NFS starts to use an increasing amount of CPU to do the same operation, causing the system to slow down. Once it gets into this state it does not seem to ever recover. A reboot of the system does fix it temporarily.  Any guidance would be appreciated about methods to diagnose, possible causes, and even better possible solutions.</p>
  
  <p><strong>Setup:</strong></p>
  
  <p>We have several win 2008 R2 cloud servers accessing an NFS share (redhat cluster which access a NFS). They all use client for NFS to access it, using the registry fix described here: <a href="http://blog.cuongnv.com/2009/11/windows-7-client-for-nfs-and-user-name.html" rel="nofollow">http://blog.cuongnv.com/2009/11/windows-7-client-for-nfs-and-user-name.html</a>, we do not have either user name mapping or active directory. They access it via an IP rather than a mounted drive, which in my understanding still uses Microsoft client for NFS to access the NFS share on the linux box. Each server has the drive mounted so we can see what files are on the NFS.</p>
  
  <p>For reference purposes we also have two linux cloud servers accessing the NFS, but have not noticed an issue with them.</p>
  
  <p><strong>Usage:</strong>
  All files about 8-15KB
  The NFS is getting a file listing of several directories containing a total of about 8500 files every minute and then individually checking the date of the file.
  About 26 times a minute a subset of this directory with about 640 files is listed and each file checked for date.
  Also there are about 60 file writes and 60 file deletes every minute.</p>
  
  <p>As a side note we are also experiencing (A probably unrelated) issue where the servers have a stop error when accessing the NFS. We believe this will be fixed by this patch: <a href="http://support.microsoft.com/kb/2584874" rel="nofollow">http://support.microsoft.com/kb/2584874</a> (not yet applied).</p>