-
Notifications
You must be signed in to change notification settings - Fork 823
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
Windows Freezes When WSL 2 Running #10328
Comments
/logs |
Hello! Could you please provide more logs to help us better diagnose your issue? To collect WSL logs, download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The scipt will output the path of the log file once done. Once completed please upload the output files to this Github issue. Click here for more info on logging Thank you! |
I have same issue with this same version. Screenshots, from state all wsl stopped to after running cmd: wsl --system -d [name] top |
I have same issue. When I run wsl CPU go crazy and screen is flickering. WSL version: 1.2.5.0 |
Does this logging tool have to be running before it freezes, or can I run it immediately after a freeze? |
This helped me to resolve the issue.
|
It would need to run before the freeze. You can also try to do /dumps after the freeze, that should also be useful to us. |
Hello! Could you please provide logs and process dumps to help us better diagnose your issue? To collect WSL logs and dumps, download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The scipt will output the path of the log file once done. Once completed please upload the output files to this Github issue. Click here for more info on logging Thank you! |
@OneBlue when WSL freezes the computer at random the only way to resolve it is to hold down the power button and force it to shut down then start it again, How will the script output the path to the log file when done if the error freezes the computer and I and the script never has a chance to finish runnning? |
my windows freez too |
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
Windows Version
Microsoft Windows Version [10.0.22621.1848]
WSL Version
1.2.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.90.1
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
Windows on my Dell XPS 15 laptop (2021) will frequently freeze once WSL is installed and I start using it (either via terminal or VS Code). I will have to do a hard reboot of the machine to restart. Sometimes it freezes within 5 minutes of using WSL, sometimes it freezes within an hour or two.
I've done three complete wipes of my laptop and had Dell replace the hard drive and battery. This issue only occurs once I install WSL on my laptop and use it - absolutely no freezing issue otherwise.
Expected Behavior
Not to freeze.
Actual Behavior
Laptop completely freezes multiple times a day when using WSL
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: