Skip to content
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

WSL crashes and can't be restarted #9767

Closed
1 of 2 tasks
traycerb opened this issue Mar 9, 2023 · 5 comments
Closed
1 of 2 tasks

WSL crashes and can't be restarted #9767

traycerb opened this issue Mar 9, 2023 · 5 comments

Comments

@traycerb
Copy link

traycerb commented Mar 9, 2023

Windows Version

Microsoft Windows [Version 10.0.19044.2604]

WSL Version

1.1.3.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

Kernel version: 5.15.90.1

Distro Version

Ubuntu default

Other Software

No response

Repro Steps

This may be similar to #7368, but I felt it was different to file another report.

After enough time (minutes or hours, usually following a period of inactivity), WSL crashes and can't be recovered. issues manifests as existing terminals sessions stop responding, and new terminals opened just hang without any error message. Rebooting solves the issue, until it happens again. I am on a Thinkpad Yoga.

Logs are hard to capture, but I have attached one after WSL stopped responding (removed my name and IP from obvious places within the logs, hope that won't cause an issue).

This was happening with prior versions and I was able to work around it by using the following command:
tasklist /svc /fi "imagename eq svchost.exe" | findstr LxssManager
...and killing the associated process, but that no longer works after I updated WSL (no process named as such is found anymore). I saw somewhere else mentioned trying Restart-Service -name lxssmanager and also no effect.

Expected Behavior

No crashing, able to restart

Actual Behavior

crashing, vmmem consuming >75% and can't be killed. Signout doesn't solve problem, only reboot.

Diagnostic Logs

WslLogs-2023-03-03_13-30-56.zip

@jeffska
Copy link

jeffska commented Mar 15, 2023

Is it happening after the machine hibernates? If so, come join the party over at #8696 .

@FLAMESpl
Copy link

It happens to me too in middle of work without hibernating windows.

@hanzlahabib
Copy link

I was working and instantly it broke

@ileathan
Copy link

ileathan commented Oct 31, 2023

Same here, in the middle of workload.

I love my wsl 1, even solves the problem without a reboot if you switch back and forth, or just back lol :)

wsl.exe --set-version <YourVersion> 1

To list version

wsl.exe -v -l

@FLAMESpl
Copy link

FLAMESpl commented Nov 5, 2024

Ofc. we are still experiencing this, it has been inactive for the past year because noone from microsoft have responded to the damn thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants