systeminformer: Zombie Processes hangs unless Windows has been freshly restarted
Brief description of your issue
When running the Zombie Processes scan on a Windows session that is long running, the Zombie Processes tab hangs presumably because of the sheer number of the processes.
For example, this is what I get after a Windows session (i.e. after restart) that is about 20 minutes long. There are over 10k terminated processes. It took System Informer about 1min to populate this window.
I tried the same with a Windows session where I hadn’t restarted for almost a day and I gave the Zombie Processes window over 10 minutes to populate before killing the process. I am interested in Zombie Processes and not the terminated processes. Is it possible to improve the performance of the Scan by ignoring the terminated processes (at least allowing the user to have the option to not show terminated processes)?
Steps to reproduce (optional)
Run a scan of the Zombie Processes on a Windows session that is a few hours running without a restart.
Expected behavior (optional)
No response
Actual behavior (optional)
No response
Environment (optional)
System Informer 3.1.24298.0
Windows 11
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 30 (10 by maintainers)
Commits related to this issue
- Add background thread #2404 — committed to winsiderss/systeminformer by dmex 2 years ago
@samaursa
Open the
Find handles or DLLswindow. SelectProcesson the left and leave the searchbox blank. Click the Find button and it’ll show all the process handles:You should also add the
Referencescolumn to the process list to view the number of references to Handles.this is what I expected. Because of doing a lot of git operations you have IO related tags in usage. Try this DevDrive for some testing projects and looks if it imroves memory usage. Maybe Microsoft encountered the same for their internal repos and added DevDrive because of this. I have no idea.
I disabled auto-refresh in Lazygit and started using it again. It seems to have calmed down the system considerably. I am on the second day without a PC restart (several sleep cycles though, which is my normal routine) and normally the PC would start to become quite unresponsive with a majority of my 128GB RAM gobbled up.
Right now, I am sitting at 45GB and System Informer actually says the processes should be using 58GB! This is the first time where I am seeing the memory consumption reported by the Task Manager to be lower than that of all the processes combines as seen by System Informer (which also begs the question, why is there a discrepancy?).
The number of zombie processes have dropped significantly to just 74. Thank you all for your help!
It would still be nice if the window can update the list without blocking the app (or even that window itself).
@MagicAndre1981 didn’t use Lazygit for about 3 days now. Looks like the leak is not as bad but memory usage is still creeping up. I’m at 48GB memory usage according to Task Manager but System Informer tells me that it should be 39.5GB. I am starting to suspect that the culprit is
git.exe. I’ll try uninstalling and reinstalling it.Younger me would have reinstalled Windows some time ago 😃 I’m hoping that I am able to get to the bottom of this somehow for future troublshooting.
Edit: no idea why logitech options plus is taking over 2GB! Will uninstall it.
The kernel can’t destroy the process while something has a reference and something is referencing all those process objects preventing the system from cleaning up/destroying those objects. Process termination is also asynchronous, the operating system queues a special termination APC and flags the process for termination but doesn’t wait for termination to complete, so the process can continue waiting or executing in the kernel for some time before terminating.