-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak/zombie processes on windows #6451
Comments
Hi! Are you able to see those zombies in Process Explorer? If yes, can you share their command line (if available)? Otherwise, we may need to try using procmon.exe (filter only for process name Just to double check, do you have any extensions installed? (In case those are spawning |
Hi, thanks for getting back to me. I uninstalled and re-installed and it doesn't occur anymore. It didn't show in processexplorer. The only suspicious thing I could across task manager/process explorer/rammap was in rammap. Otherwise there was no trace of where the missing memory went (and even the rammap the long list doesn't really isn't solid evidence). I didn't know about procmon. If this ever occurs again I will try to get some insight on why docker.exe was launched so many times. I am closing this issues in the meantime. |
@mook-as and if anyone else stumble on this issue. Using procmon I could determine that it's VScode invoking I am still not sure if something is wrong with the docker version supplied in rancher-desktop or with the extension. Running |
BTW, the docker demon nor rancher-desktop has to be running for this issue to manifest itself. |
That sounds interesting; it sounds like VSCode is not cleaning up properly from invoking |
@mook-as Can you check if this might be something specific to our |
Just a note that I've been seeing this. These processes only show in rammap. They seem to be resources somehow abandoned. The processes show up nowhere. In no other utility. They may well be zombies- but not in any traditional sense (even for windows). It does happen when vscode is running. My work is almost exclusively over ssh to Macs. No containers are ever run locally (although the engine is up and running). Overnight it will consume 48GB of 'Page Table'. [64gb physical ram]. This started happening around the time I enabled WSL2 backend. However, I can't attribute causation - as I change a lot of things frequently. Uninstalling docker from Windows has fixed it. Sounds heavy-handed, but again, I never actually run my containers on Windows, just the occasional image management and such. It may well be vscode - and that's worth investigating. Somewhat difficult since the processes (and thus parental tree) are gone from traditional views. I might re-install and start messing with FindZombieHandles to see what shows. Note: Might be easier to use ProcExp, use 'Find Handle or Dll in the Find menu and search for |
I have the same problem on 1.14.2. |
Issue seems to happen with Docker Desktop as well: docker/for-win#13929 So it does seem to be a problem with the dev containers extension. |
Yes, but users reported on it that the problem was fixed in Docker for Windows 4.30: |
It is one user, who also added:
So still not clear what was fixing the issue for them. There is also a lot of talk about AMD drivers; do people who experience this issue have AMD drivers installed, or are they on Intel machines? |
A user also reported:
Another user:
Yet another user:
🤷 |
Actual Behavior
My 32gb computer memory gets exhausted in ~24hrs when running docker-desktop. The sum of process memory doesn't add up to the total used. Task manager will show 98% used, but the sum is below 10gb. Meanwhile the computer is unusable. Using rammap.exe, I can see 10,000s of what appears to be zombie docker.exe (and also conhost.exe) process
Running pskill yields "Unable to kill process 53764: A process being terminated has no threads to terminate.", for comparison trying to kill non-existing pid yieds "Unable to kill process 345345: Process does not exist.". Reinstalling or rebooting didn't help.
Steps to Reproduce
In my case, just have docker-desktop running. No running container image or docker build is needed to reproduce.
Result
Computer unusable due to ram exhaustion.
Expected Behavior
No that..
Additional Information
No response
Rancher Desktop Version
1.12.3
Rancher Desktop K8s Version
none
Which container engine are you using?
moby (docker cli)
What operating system are you using?
Windows
Operating System / Build Version
windows 11
What CPU architecture are you using?
x64
Linux only: what package format did you use to install Rancher Desktop?
None
Windows User Only
sentinel, twingate
The text was updated successfully, but these errors were encountered: