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

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

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

Post by void »

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 affect Windows Server 2019+ 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