Hi,
It seems like Everything keeps adding more and more handles as it sits in the tray, without me interacting with it.
I just restarted my pc and it is at 36000 handles atm, and it keeps adding 30 new handles every second on average. I am not sure if this is an expected behavior. It had over 10 million handles before which was why I restarted my PC to make sure. I am using getting the numebrs from under System Informer process explorer
Windows 11
Version 1.4.1.1026 (x64)
Private bytes, 1.78 GB, , ,
Peak private bytes, 3.32 GB, , ,
Handles, 36,536, , ,
thanks
Number of handles keeps increasing
Re: Number of handles keeps increasing
Thank you for the issue report ynut,
Could you please send a debug log:
Could you please send a debug log:
- In Everything, type in the following search and press ENTER:
/debug_log - Let Everything sit for at least one minute.
- Type in the following search and press ENTER:
/restart - Please upload your %TEMP%\Everything Debug Log.txt in a bug report
Re: Number of handles keeps increasing
I sent the log.
Re: Number of handles keeps increasing
Thank you for the log.
There's nothing out of the ordinary from the log.
The log shows Everything is not doing anything.
There is one program writing to a main.log every second.
Could you please repeat the process, this time with verbose logging enabled:
There's nothing out of the ordinary from the log.
The log shows Everything is not doing anything.
There is one program writing to a main.log every second.
Could you please repeat the process, this time with verbose logging enabled:
- In Everything, type in the following search and press ENTER:
/verbose - Type in the following search and press ENTER:
/debug_log - Let Everything sit for at least one minute.
- Type in the following search and press ENTER:
/restart - Please upload your %TEMP%\Everything Debug Log.txt in a bug report
Re: Number of handles keeps increasing
Thanks, I sent it.
Re: Number of handles keeps increasing
Thank you for the logs.
Nothing looks out of the ordinary from the logs.
Could you please send your %APPDATA%\Everything\Everything.ini in a bug report
I would like to do some testing my end.
Maybe it's the HTTP server? or the IPC calls you are making? -Although, I am not seeing enough HTTP/IPC calls for it to be the issue.
I wonder if it's a shell extension..
Are you showing thumbnails or the preview pane?
Could you please check what the handles are with Process Explorer from Microsoft.
In Process Explorer, select Everything.exe
If there's two, please select the one using the most memory.
From the View menu, check Show Lower Pane.
From the View menu, under the Lower Pane View, check Handles.
What is shown thousands of times here? -Is it a file? what is the filename?
Nothing looks out of the ordinary from the logs.
Could you please send your %APPDATA%\Everything\Everything.ini in a bug report
I would like to do some testing my end.
Maybe it's the HTTP server? or the IPC calls you are making? -Although, I am not seeing enough HTTP/IPC calls for it to be the issue.
I wonder if it's a shell extension..
Are you showing thumbnails or the preview pane?
Could you please check what the handles are with Process Explorer from Microsoft.
In Process Explorer, select Everything.exe
If there's two, please select the one using the most memory.
From the View menu, check Show Lower Pane.
From the View menu, under the Lower Pane View, check Handles.
What is shown thousands of times here? -Is it a file? what is the filename?
Re: Number of handles keeps increasing
These are some stats from everything.exe handles. These numbers go up as time goes by. I use regular listing with modified first sorting.
ALPC Port, 11
Desktop, 1
Directory, 2
EtwRegistration, 164
Event, 164
File, 57
IoCompletion, 36
IoCompletionReserve, 1
IRTimer, 6
Key, 49
Mutant, 214
Process, 36,127
SchedulerSharedData, 1
Section, 30
Semaphore, 13
Thread, 38
Timer, 1
TpWorkerFactory, 3
WaitCompletionPacket, 15
WindowStation, 2
everything.ini
ALPC Port, 11
Desktop, 1
Directory, 2
EtwRegistration, 164
Event, 164
File, 57
IoCompletion, 36
IoCompletionReserve, 1
IRTimer, 6
Key, 49
Mutant, 214
Process, 36,127
SchedulerSharedData, 1
Section, 30
Semaphore, 13
Thread, 38
Timer, 1
TpWorkerFactory, 3
WaitCompletionPacket, 15
WindowStation, 2
everything.ini
Last edited by void on Fri Jan 03, 2025 12:37 am, edited 1 time in total.
Reason: removed link to ini
Reason: removed link to ini
Re: Number of handles keeps increasing
Thank you for the information ynut,
Everything shouldn't be creating any processes.
There should be zero process handles opened.
Could you please try Process Monitor from Microsoft.
Everything shouldn't be creating any processes.
There should be zero process handles opened.
Could you please try Process Monitor from Microsoft.
- In Process Monitor, create a filter to log new processes:
- From the Filter menu, click Filter.
- Add a rule: Operation is Process Create, then click Add.
- Optionally, add a rule to include only events related to Everything:
- Process Name is Everything.exe, then click Add.
- Click OK.
- From the File menu, check Capture Events.
- Observe which processes are being created. Pay attention to the Process Name and Path.
Re: Number of handles keeps increasing
I investigated this ina deeper way, it turned out that Nextcloud's desktop app had explorer integration which was causing all this activity, but why would Everything reporting or holding on new handles in that case? I am not sure, maybe it was causing some kind of race condition. Thanks for helping me debug it.
Re: Number of handles keeps increasing
Everything doesn't create any processes directly.
It's probably a icon/thumbnail/preview/context-menu shell extension creating the process.
or, it could be code injection into Everything..
icon_shell_extensions
context_menu_shell_extensions
It's probably a icon/thumbnail/preview/context-menu shell extension creating the process.
or, it could be code injection into Everything..
icon_shell_extensions
context_menu_shell_extensions