WSL icon indicating copy to clipboard operation
WSL copied to clipboard

WSL service freezes after exiting distro

Open msbecker opened this issue 2 years ago • 4 comments

Windows Version

10.0.22621.3007

WSL Version

2.0.14.0

Are you using WSL 1 or WSL 2?

  • [X] WSL 2
  • [ ] WSL 1

Kernel Version

5.15.133.1-1

Distro Version

Ubuntu 22.04

Other Software

Rancher Desktop 1.12.2

Repro Steps

  1. I open Rancher Desktop and/or Ubuntu 22.04
  2. I perform cli tasks
  3. I exit the distro by closing the terminal/window
  4. I then am unable to re-open either. The wsl commands no longer return any output although the WSL service still shows as Running.

Expected Behavior

I should be able to close and open distros or Rancher Desktop without the WSL service freezing and becoming unresponsive.

Actual Behavior

When the service freezes, I am unable to restart the WSL Service in the .msc console or from PowerShell, even with elevated privileges -- the service goes into a Stopping state and freezes there. The only way to get the wsl service running again so I can use a distro is to restart the computer.

Diagnostic Logs

No response

msbecker avatar Feb 08 '24 21:02 msbecker

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:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

github-actions[bot] avatar Feb 08 '24 21:02 github-actions[bot]

I've reviewed the above issues previously. None of them are similar to mine.

msbecker avatar Feb 08 '24 21:02 msbecker

/dumps

OneBlue avatar Feb 13 '24 22:02 OneBlue

Rancher Desktop updated to version 1.12.3. Problem has not recurred since. WSL works as expected now.

msbecker avatar Feb 14 '24 22:02 msbecker