WX 8.1/16.3 - Intermittent failure retrieving thumbnails or rendered pages when the render cache is hosted on a NAS.

Clients who use a NAS device to host a CIFS share for the render server cache path receive intermittent failures while retrieving thumbnails and/or rendered pages.

There are two factors that cause intermittent failures
  • Some NAS devices may not immediately show files created in one CIFS session available to other sessions. 
  • The default setting in Windows Server is to cache file not found exceptions to reduce network overhead.
This combination can cause Web Services and/or REST Services to receive a FileNotFound Exception when attempting to fetch a file from the Render Cache Path shortly after a new file has been created by the Render Server.


NOTE:  A system reboot is required before the registry change will take effect.
  1. Open Regedit
  2. Find the key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanWorkstation\.
  3. Right-click on LanmanWorkstation and select New -> DWORD (32-bit) Value.
  4. Rename the newly created “New Value#1” entry to “FileNotFoundCacheLifetime”.
  5. Double click on the new “FileNotFoundCacheLifetime” and confirm the Value data: is set to 0.
  6. From the same LanmanWorkstation key select New -> DWORD (32-bit) Value.
  7. Rename the newly creates “NewValue#x” to “DirectoryCacheLifetime” and confirm the Value data is set to 0.
  8. Reboot the server.

Did you find this article helpful?