UI Hangs...

Discussion related to "Everything" alpha and beta versions.
Shooter3k
Posts: 50
Joined: Tue Sep 07, 2021 10:56 pm

UI Hangs...

Post by Shooter3k »

I realize I'm likely the exception as most people do not have 40+ drives connected to their machine....

I experience the UI hanging very often. I'm wondering what I can do to avoid this in the future....

Times when the UI hangs that I can think of right now:
1. when I start the machine, Everything is usually not usable for the first 10-20 or so minutes
2. Whenever I add/remove folders from the Options/Indexes/Folders list, it basically always causes the entire UI to hang for a very long time. It might be 5 minutes, it might be 30 minutes, it might be 4 hours. Once it's no longer hanging, it will sit in a state that it cannot be used, like "scanning xyz" or "building folder hierarchy" or something similar, and while it's in those states, the UI is usually hung as well.
3. if I add/remove drives and it thinks it needs to calculate if it needs to rescan something
4. when it decides it needs to rescan something

Thoughts:
1. How can I stop this from happening? My preference is that it would use 100% cpu/ram/disk whatever it needs to do in order to catch up but still be usable and not hang.
2. I'm willing to do whatever necessary to be able to avoid the UI hanging. Is there some kind of debug mode I can run it in for a month and send it to you?
3. can I give the application more priority or resources or something so it doesn't starve itself for resources and hang the UI


Any advice is appreciated
therube
Posts: 5891
Joined: Thu Sep 03, 2009 6:48 pm

Re: UI Hangs...

Post by therube »

Help | Troubleshooting, might help
Tools | Debug -> Statistics, might help

Are you indexing Properties?
Are all the drives local? On a NAS or similar? Might sleep be playing in?
Herkules97
Posts: 326
Joined: Tue Oct 08, 2019 6:42 am

Re: UI Hangs...

Post by Herkules97 »

Shooter3k wrote: Wed Sep 23, 2026 4:40 pm I realize I'm likely the exception as most people do not have 40+ drives connected to their machine....

I experience the UI hanging very often. I'm wondering what I can do to avoid this in the future....

Times when the UI hangs that I can think of right now:
1. when I start the machine, Everything is usually not usable for the first 10-20 or so minutes
I index 34 devices on one instance without any major issues(Of which 16 are online currently and has been for a few months at least, so if you mean 40+ ONLINE then I'm far from that :D). Across these devices, it's 47.9mil folders, 132.6mil files.
Closest would be one of the devices that go to sleep often and so when I restart the instance, it takes a minute on the reading journal part because it is starting up that one HDD.
Or when a different device is a bit slower than usual and also causes it to be a bit slow. But no UI hanging, just slow retroactive journal reading.
But besides these 2 HDDs I don't have much issue.
Shooter3k wrote: Wed Sep 23, 2026 4:40 pm 2. Whenever I add/remove folders from the Options/Indexes/Folders list, it basically always causes the entire UI to hang for a very long time. It might be 5 minutes, it might be 30 minutes, it might be 4 hours. Once it's no longer hanging, it will sit in a state that it cannot be used, like "scanning xyz" or "building folder hierarchy" or something similar, and while it's in those states, the UI is usually hung as well.
3. if I add/remove drives and it thinks it needs to calculate if it needs to rescan something
4. when it decides it needs to rescan something
This is a necessary part at least AFAIK, when you add folders it has to rebuild the entire thing. This requires about double the RAM at the peak of the stages so make sure you have the RAM, otherwise it will presumably crash something..Probably including the instance itself but in my experience some background system thing usually crashes, if nothing else crashes, when hitting 100% commit. Not much of an issue if you restart your system often, though I only do it once a month or whatever. Most recent 2 restarts have been system crashes, I think..So I don't even restart the system normally most of the time.

I've had the EBV window not responding from adding new folders, though I think maybe in newer versions like 1.5.1386a and such it isn't as common? Not sure. Either way it's still doing the same stuff, just don't bother it and it'll eventually finish..Presuming there isn't a bug and it isn't actually doing anything.

For me the time it takes to rebuild is about 1h6min via the last time in the stats page, though this was without adding any folders. I restarted it while a lot of files were being made and deleted so it was outdated by the time it finished restarting fully. There might be ways to prevent this, maybe by increasing the USN journal size but I haven't touched that stuff.

Shooter3k wrote: Wed Sep 23, 2026 4:40 pm Thoughts:
1. How can I stop this from happening? My preference is that it would use 100% cpu/ram/disk whatever it needs to do in order to catch up but still be usable and not hang.
2. I'm willing to do whatever necessary to be able to avoid the UI hanging. Is there some kind of debug mode I can run it in for a month and send it to you?
3. can I give the application more priority or resources or something so it doesn't starve itself for resources and hang the UI
1. Don't know.

2. You can start by making the instance 1.5.0.1423b if not already, then Tools - Debug - Verbose, then same menu Start Debug Logging BEFORE any hanging. Then Stop Debug Logging when it's done freezing for the moment.
Warning, that this can potentially take 1MB per 5 seconds or so..If it freezes for a few hours it could either end up being GBs or potentially MBs if it never logs anything while frozen. But if it's the same hanging that I've had, it's still working in the background so should be in the GBs.
I presume this will be what void will ask..Idk, will he want to read through GBs of logging?
This is based on a verbose debug log I have which is 900KB after 4 seconds. Maybe a lot of that is establishing data and it will not take GBs over a few hours. I don't know.

3. Don't know. I don't know why I've seen less freezing when adding new folders besides that some versions ago maybe there was a change that helped against it.
Herkules97
Posts: 326
Joined: Tue Oct 08, 2019 6:42 am

Re: UI Hangs...

Post by Herkules97 »

Oh yeah, what you could do is maybe keep track of when you started it..Then when it has finished freezing, presuming it was rebuilding..
Check build duration. If say you started rebuilding 00:00 and it finishes 04:00 and it took 2 hours, then it rebuilt twice presumably because in the first time it was outdated by the time it was done.

I forgot to add, build duration is in Tools - Debug - Statistics. Under the Build line. (It takes maybe 3min to open the stats page on the large instance, I haven't counted. It's frozen during that time, to be nice to the process don't click on it..Not that I know if that ultimately worsens anything.)
Total duration: 1:06:50:10
The line I reference.
void
Developer
Posts: 20462
Joined: Fri Oct 16, 2009 11:31 pm

Re: UI Hangs...

Post by void »

Could you please send a mini crash dump when Everything hangs: The mini crash dump will show the reason for the hang.
Xavierarmand
Posts: 50
Joined: Fri Nov 24, 2023 12:19 am

Re: UI Hangs...

Post by Xavierarmand »

Following. I've have\ had similar hangs. I feel like are coming from my nas. At work. Will post more details from home later.
Shooter3k
Posts: 50
Joined: Tue Sep 07, 2021 10:56 pm

Re: UI Hangs...

Post by Shooter3k »

void wrote: Wed Sep 23, 2026 10:26 pm Could you please send a mini crash dump when Everything hangs: The mini crash dump will show the reason for the hang.
just uploaded a debug file for your review
Xavierarmand
Posts: 50
Joined: Fri Nov 24, 2023 12:19 am

Re: UI Hangs...

Post by Xavierarmand »

sent .dmp with links back here and details
Shooter3k
Posts: 50
Joined: Tue Sep 07, 2021 10:56 pm

Re: UI Hangs...

Post by Shooter3k »

Shooter3k wrote: Wed Nov 25, 2026 3:30 pm
void wrote: Wed Sep 23, 2026 10:26 pm Could you please send a mini crash dump when Everything hangs: The mini crash dump will show the reason for the hang.
just uploaded a debug file for your review

FYI - AI says:

Yes—the current hang is confirmed: the UI is blocked on a heap lock held by a busy background worker.

UI thread 36156 is waiting in RtlLockHeap. That exact lock, 0x6202C8, is owned by worker 35640, which is consuming one core inside RtlFreeHeap, traversing a long free-block list. Repeated snapshots show changing blocks, so cleanup is progressing, but it is blocking the UI’s memory operations.

This is serialized heap cleanup, not a one-thread setting. The specific Everything operation triggering that cleanup remains unidentified; the HTTP plugin is not established as the cause.

The visible window is still confirmed hung. Everything remains running, and neither thread is suspended by the debugger.
-----------------------------------------------------------------------------------------------------------------------------------------
No. I don't think any Everything setting, or a Windows priority change, will make this finish faster.

The bottleneck is one thread, and it already has a full core. Worker 35640 used 5.03 seconds of CPU time in 5 seconds, which is 100% of one core. It has used about 35 minutes of CPU time in total. I checked whether anything else was competing with it:

• Allowed processors: Everything can use all 64 logical processors in its processor group, so it isn't restricted to a few busy ones.
• Per-core load: Total CPU load was 8%, and none of the 128 logical processors was above 90%.
• Waiting threads: The processor queue length was 0, meaning no threads were waiting for CPU time.

That points to no CPU contention, though it's a single snapshot.

Why settings won't help:

• The work can't be split. The thread is walking a long chain of freed memory blocks while holding a memory lock that the UI also needs. Each step depends on the previous one, so more threads can't share the work. Memory speed is the likely limit, not CPU or thread count.
• Wrong settings. Everything's thread settings (max_threads, index_max_threads and similar) control indexing, search and sorting, not this memory cleanup. More threads would only mean more of them waiting for the same lock.
• Priority won't help. Raising the process or thread priority only matters when a thread is waiting for CPU time, and this one isn't.
• Settings can't be applied now. The UI is hung, and Everything normally rewrites Everything.ini when it exits.

Your options haven't changed. You can wait, though it may never finish. Or, if you accept losing whatever Everything was doing, you can try Exit from the tray icon and then end UI process 36152 in Task Manager as a last resort. Don't end PID 10784, which looks like Everything's service. Memory use is steady at 29.2 GiB.

If the hang happens again after a restart, note what Everything was doing at the time, such as an index rebuild or an HTTP server request; the trigger is still unknown. It would also help to report the hang to voidtools with the stack details I captured, since this is a 1.5 alpha build.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------

FYI: I have 1tb of ram and 128 processor machine. So, while the overall machine is fast, the single core processes tend to be "slow"
void
Developer
Posts: 20462
Joined: Fri Oct 16, 2009 11:31 pm

Re: UI Hangs...

Post by void »

@Shooter3k
Thanks for the mini crash dump.

This mini crash dump is from the Everything Service, not the Everything GUI process.
Could you please send another crash dump of the Everything GUI process?
There should be two Everything.exe processes. The Everything GUI process will be the one using the most RAM.
The Everything Service process typically only uses 1MB of RAM.
Shooter3k
Posts: 50
Joined: Tue Sep 07, 2021 10:56 pm

Re: UI Hangs...

Post by Shooter3k »

void wrote: Thu Nov 26, 2026 1:01 am @Shooter3k
Thanks for the mini crash dump.

This mini crash dump is from the Everything Service, not the Everything GUI process.
Could you please send another crash dump of the Everything GUI process?
There should be two Everything.exe processes. The Everything GUI process will be the one using the most RAM.
The Everything Service process typically only uses 1MB of RAM.
file uploaded. thankfully it's been hung for last 24 hours so I was still able to get it lol
void
Developer
Posts: 20462
Joined: Fri Oct 16, 2009 11:31 pm

Re: UI Hangs...

Post by void »

@Xavierarmand

Thank you for the mini crash dump.
Your mini crash dump shows a path search being executed and the UI blocking because of another IPC request for a path search.
Are these calls from ES (the command line interface)?
The UI should eventually recover.
The UI will block while the database is busy from a ES call.
void
Developer
Posts: 20462
Joined: Fri Oct 16, 2009 11:31 pm

Re: UI Hangs...

Post by void »

@Shooter3k

Thank you for the latest mini crash dump.
This mini crash dump shows Everything running normally.
Everything is processing the message loop and is happily waiting for the next message.

What do you mean by the Everything UI has hung?
Is a window shown and you are unable to interact with it? or are you unable to create a new window?
Shooter3k
Posts: 50
Joined: Tue Sep 07, 2021 10:56 pm

Re: UI Hangs...

Post by Shooter3k »

void wrote: Thu Nov 26, 2026 2:03 am @Shooter3k

Thank you for the latest mini crash dump.
This mini crash dump shows Everything running normally.
Everything is processing the message loop and is happily waiting for the next message.

What do you mean by the Everything UI has hung?
Is a window shown and you are unable to interact with it? or are you unable to create a new window?
I can't open a new window

I can't interact with the existing window that's open

I can't run a search because I can't click on the window that is open

Windows says the window is "not responding"
void
Developer
Posts: 20462
Joined: Fri Oct 16, 2009 11:31 pm

Re: UI Hangs...

Post by void »

@Shooter3k

Thank you for the information.

This could be related to the LVM flooding issue.
  • Terminate Everything.
  • Relaunch Everything.
  • In Everything 1.4 or 1.5.
  • Copy and paste the following into your Everything search box:
    /lvm=0
  • Press ENTER in your Everything search box.
  • If successful, lvm=0 is shown in the status bar for a few seconds.
If you have troubles typing in this command, please let me know.

Does the issue persist?
Shooter3k
Posts: 50
Joined: Tue Sep 07, 2021 10:56 pm

Re: UI Hangs...

Post by Shooter3k »

void wrote: Thu Nov 26, 2026 2:30 am @Shooter3k

Thank you for the information.

This could be related to the LVM flooding issue.
  • Terminate Everything.
  • Relaunch Everything.
  • In Everything 1.4 or 1.5.
  • Copy and paste the following into your Everything search box:
    /lvm=0
  • Press ENTER in your Everything search box.
  • If successful, lvm=0 is shown in the status bar for a few seconds.
If you have troubles typing in this command, please let me know.

Does the issue persist?
This seems to have fixed it. but why? How?
void
Developer
Posts: 20462
Joined: Fri Oct 16, 2009 11:31 pm

Re: UI Hangs...

Post by void »

Do you have any AI tools installed? or screen readers?
There's a lot of new AI tools that scrape every single item from Everything.
Xavierarmand
Posts: 50
Joined: Fri Nov 24, 2023 12:19 am

Re: UI Hangs...

Post by Xavierarmand »

void wrote: Thu Nov 26, 2026 1:52 am @Xavierarmand
Are these calls from ES (the command line interface)?
I am not sure... I'm a dopus and everything fanatic on both side. for many years.

so i have installed a handful scripts into dopus from their forums that call upon everything.
JS is a bit over my head.
Sooo i may be shooting myself in the foot trying to overload EV with too many scripts. especially when i not using a few of them. I'm going to start disabling some of these.

Image


UPDATE #1:
Found it!

this script IS calling \es.exe and i don't even have that installed.
i like had it at one point.

Image

UPDATE #2: disabled the script above. ▲▲ thou dopus still takes a couple minutes to load this folder.

this image is from dopus's built in task manager ▼▼
Image
Shooter3k
Posts: 50
Joined: Tue Sep 07, 2021 10:56 pm

Re: UI Hangs...

Post by Shooter3k »

void wrote: Thu Nov 26, 2026 4:55 am Do you have any AI tools installed? or screen readers?
There's a lot of new AI tools that scrape every single item from Everything.
I have a lot of AI tools installed but none that were using vision during the freeze times. Also these hang issues have been going on for a very long time, way before any AI tools were installed.

What does the /lvm=0 command do? What does it turn on/off?
therube
Posts: 5891
Joined: Thu Sep 03, 2009 6:48 pm

Re: UI Hangs...

Post by therube »

(I'll fumble around & say, the "Messaging" aspect of the List View,
such that other applications are not able to read from Everything's list of items, directly.

Can't hurt to test it without, & can always turn back on with, /lvm=1.
Or test in a separate "mule" Instance.)
void
Developer
Posts: 20462
Joined: Fri Oct 16, 2009 11:31 pm

Re: UI Hangs...

Post by void »

lvm = List View Message
It's an API to manage the result list.
In Everything's case its only useful to pull information from the result list.

If you re-enable lvm, you can monitor messages in the debug console (Tools -> Debug -> Console) when verbose debug mode is enabled (Tools -> Debug -> Verbose)
Shooter3k
Posts: 50
Joined: Tue Sep 07, 2021 10:56 pm

Re: UI Hangs...

Post by Shooter3k »

void wrote: Thu Nov 26, 2026 11:40 pm lvm = List View Message
It's an API to manage the result list.
In Everything's case its only useful to pull information from the result list.

If you re-enable lvm, you can monitor messages in the debug console (Tools -> Debug -> Console) when verbose debug mode is enabled (Tools -> Debug -> Verbose)
Does this have to be applied after every reboot? It's hung again and I uploaded another debug file if that helps
void
Developer
Posts: 20462
Joined: Fri Oct 16, 2009 11:31 pm

Re: UI Hangs...

Post by void »

Thank you for the mini crash dump.
The dump shows Everything starting a rebuild.

Everything should eventually recover.
Please leave Everything for a couple hours.
After Everything has completed a rebuild, please send your:
Help -> Troubleshooting information -> Build -> Last Rebuild Reason.