-
Notifications
You must be signed in to change notification settings - Fork 841
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
High resource use according to task manager when nothing is happening in wsl #11000
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! Open similar issues:
Closed similar issues:
|
Thank you for reporting this @ajkessel. Next time this reproduces, can you run:
And inside that shell, share the output of |
I just experienced WSL hanging with a vmmem process hogging ~8GiB memory and ~80% CPU. Happened during build of a C++ application using g++ in a VSCode Dev Container with code residing on the Windows filesystem accessed by WSL via the mounted path in In my situation all attempts to do anything with WSL hung, including Killing it using
WSL versions:
|
Windows Version
10.0.19045.3803
WSL Version
2.1.0.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.137.3-1
Distro Version
Ubuntu 23.04
Other Software
No response
Repro Steps
taskmgr often shows vmmem with "very high" power usage and 2GB of RAM when wsl is doing nothing -- no terminal window or application even open. When I run
top
in wsl, I don't see anything using significant amounts of RAM or CPU.echo 3 > /proc/sys/vm/drop_caches
seems to free up some memory. I've tried adding autoMemoryReclaim=gradual to .wslconfig but I don't see it doing anything.I'm often seeing wsl freeze/crash as indicated in #10378 , requiring reboot to fix (
wsl --shutdown
isn't enough), but I don't know if that's related to this overall resource issue or not.This is on a 2023 top-end X1 Carbon, so it shouldn't be maxing out system resources so easily.
Expected Behavior
Normal/low RAM/CPU usage
Actual Behavior
High RAM/CPU usage
Diagnostic Logs
I could upload the output of collect-wsl-logs.ps1 if needed.
The text was updated successfully, but these errors were encountered: