I think this is probably not solvable, but I thought I would ask.
I currently have my browser's download directory set to a networked drive on my TrueNAS system. Often, but not always, the files are delayed when showing up in Everything by ~30-60 seconds. Even opening the folder in Windows and browsing to the file doesn't seem to force it to show up in Everything. The folder has a ton of junk files in it, so if that can lead to delays I suppose I could just move it to a cleaner folder.
I wonder if there's a way to more actively monitor that specific folder for changes, or prioritize its monitoring. Or maybe there's something better than my current settings:
Include in database: checked
Attempt to monitor changes: checked
Buffer size: 64 KB
Rescan every: 15 Minutes
Rescan scans the entire NAS, which would be total overkill to rely on that, but even if I set it to 1 minute that wouldn't be any faster than the current delay.
This is using Windows 11 with Everything 1.5.0.1391a (x64) and TrueNAS with zfs. Thanks.
Files delayed in showing up on Network Drive
-
void
- Developer
- Posts: 19899
- Joined: Fri Oct 16, 2009 11:31 pm
Re: Files delayed in showing up on Network Drive
Everything uses ReadDirectoryChanges to monitor changes to your TrueNAS shares.
This is likely not implemented on TrueNAS.
Please try disabling ReadDirectoryChanges and use ShellChangeNotify to monitor changes instead:
However, it should detect any changes you make locally.
This is likely not implemented on TrueNAS.
Please try disabling ReadDirectoryChanges and use ShellChangeNotify to monitor changes instead:
- In Everything 1.5, from the Tools menu, click Options.
- Click the Advanced tab on the left.
- To the right of Show settings containing, search for:
menu - Select: read_directory_changes
- Set the value to: false
- Click OK.
However, it should detect any changes you make locally.
-
albino
- Posts: 15
- Joined: Mon Jun 19, 2023 5:02 pm
Re: Files delayed in showing up on Network Drive
Thank you for the reply and advice.
I'm not having any problems with local changes being recognized, so are there any downsides for local changes when setting read_directory_changes to false?
I just changed it right now to test, but I thought it best to ask in case there unintended consequences.
I'm not having any problems with local changes being recognized, so are there any downsides for local changes when setting read_directory_changes to false?
I just changed it right now to test, but I thought it best to ask in case there unintended consequences.
-
void
- Developer
- Posts: 19899
- Joined: Fri Oct 16, 2009 11:31 pm
Re: Files delayed in showing up on Network Drive
There shouldn't be any noticeable difference for local changes.
Please try setting Everything to rescan daily and see if it helps pick up changes immediately.
-Everything might be busy updating the index from a full rescan.
Please try showing the debug console:
In Everything, from the Tools menu, under the Debug menu, click Console.
Detected file changes are shown in Cyan color.
-Does Everything detect changes immediately?
Please try setting Everything to rescan daily and see if it helps pick up changes immediately.
-Everything might be busy updating the index from a full rescan.
Please try showing the debug console:
In Everything, from the Tools menu, under the Debug menu, click Console.
Detected file changes are shown in Cyan color.
-Does Everything detect changes immediately?
-
albino
- Posts: 15
- Joined: Mon Jun 19, 2023 5:02 pm
Re: Files delayed in showing up on Network Drive
It's currently set to rescan every 15 minutes for Network Drives, unless you mean a different setting.
The debug console is flying by like crazy, it's hard to see much of anything
To be clear, Everything works perfectly for me on all of my local drives, it detects changes instantaneously. It even detects most changes on the networked drives fairly quickly, but sometimes there's a noticeably long delay. It's hard to test the delay because it doesn't always happen, it just happens often enough that I end up going to the folder to look for the file manually before it finally pops up in Everything. My default sort is by modified, so newly downloaded things should always appear at the top, and so it's more noticeable when they don't show up.
The debug console is flying by like crazy, it's hard to see much of anything
To be clear, Everything works perfectly for me on all of my local drives, it detects changes instantaneously. It even detects most changes on the networked drives fairly quickly, but sometimes there's a noticeably long delay. It's hard to test the delay because it doesn't always happen, it just happens often enough that I end up going to the folder to look for the file manually before it finally pops up in Everything. My default sort is by modified, so newly downloaded things should always appear at the top, and so it's more noticeable when they don't show up.