Everything takes 30s to see a new file on my large ReFS volume.

Found a bug in "Everything"? report it here
Post Reply
dfalkner
Posts: 5
Joined: Sat Jul 16, 2022 7:41 pm

Everything takes 30s to see a new file on my large ReFS volume.

Post by dfalkner »

I've tried this in Everything 1.4 and 1.5a with the same result: I'll copy a new file to the ~65 TB ReFS volume on my fileserver, and it takes 30s for Everything to notice it. The file is a JPG on the order of 100 kB in size. The debug message I get in the Everything 1.5a console is:

Code: Select all

refs monitor read error 1784 retrying in 30 seconds...
30s later, it does rescan and the file appears in Everything's search results. A quick Google search tells me that 1784 is Windows error ERROR_INVALID_USER_BUFFER, which sounds like an internal code issue rather than a user configuration problem, but I can't be sure.

I've recently upgraded my fileserver, which is likely relevant because the problem only happens on the upgraded volume. Before, it used to be a ~38 TB NTFS volume running under Windows Server 2019. Now, it's a ~65 TB ReFS volume on Windows Server 2025. In case it's relevant, my old volume used the Volume Shadow Copy Service (VSS) but my new volume is too large for that and so I've had to disable it.

I've double-checked that my indexing options are the same for the old volume and the new volume, but it's possible that I'm missing something obvious.

Any help or tips much appreciated! I love this software and have used it for years. :)
void
Developer
Posts: 19568
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything takes 30s to see a new file on my large ReFS volume.

Post by void »

Thank you for the bug report and feedback dfalkner,

There's a bug in the ReFS driver and I haven't found a clean fix for it yet.

I can produce the issue my end too with a dev drive.

Calling FSCTL_READ_USN_JOURNAL succeeds with an overlapped handle to the volume.
When BytesToWaitFor is 0, the call succeeds, but then I have to poll for changes..

When BytesToWaitFor is > 0, GetOverlappedResult fails with ERROR_INVALID_USER_BUFFER.
Buffers are all page aligned.

The next alpha update will have a workaround..
dfalkner
Posts: 5
Joined: Sat Jul 16, 2022 7:41 pm

Re: Everything takes 30s to see a new file on my large ReFS volume.

Post by dfalkner »

Thanks so much for the quick confirmation! Glad to hear that it's reproducible. Boo that it's an OS problem. :)
void
Developer
Posts: 19568
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything takes 30s to see a new file on my large ReFS volume.

Post by void »

Everything 1.5.0.1406a will now retry monitoring after one second when encountering ERROR_INVALID_USER_BUFFER.
dfalkner
Posts: 5
Joined: Sat Jul 16, 2022 7:41 pm

Re: Everything takes 30s to see a new file on my large ReFS volume.

Post by dfalkner »

It works like a charm. Thanks so much!
Post Reply