Open Files on Windows Server when indexing network folders on Windows 10

General discussion related to "Everything".
Post Reply
void
Site Admin
Posts: 5132
Joined: Fri Oct 16, 2009 11:31 pm

Open Files on Windows Server when indexing network folders on Windows 10

Post by void » Thu Feb 06, 2020 12:54 am

Network shares can be added to your Everything index from Tools -> Options -> Folders.

Everything uses ReadDirectoryChangesW to monitor changes to these folder indexes.

When indexing a network share from Windows 10, ReadDirectoryChangesW is creating a file handle on Windows Server for each subfolder to monitor it for changes.

This can lead to 1000+ open files on Windows Server if there are many subfolders.
On older versions of Windows, only one file handle was used.

The issue appears to only effect Windows Server and Windows 10 when the client is Windows 10.

Please consider reducing the number of subfolders in network shares if this is causing an issue.

Please consider disabling "Attempt to monitor changes" in Everything:
  • In Everything, from the Tools menu, click Options.
  • Click the Folders tab on the left.
  • For each network folder:
    • Uncheck Attempt to monitor changes.
  • Click OK.

Post Reply