WSL Freezes Randomly
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
### Windows Version
Microsoft Windows [Version 10.0.19045.3324]
### WSL Version
1.2.5.0
### Are you using WSL 1 or WSL 2?
- [X] WSL 2
- [ ] WSL 1
### Kernel Version
Linux version 5.15.90.1-microsoft-standard-WSL2
### Distro Version
Ubuntu 20.04.6 LTS (GNU/Linux 5.15.90.1-microsoft-standard-WSL2 x86_64)
### Other Software
PhpStorm 2023.2 Build #PS-232.8660.205, built on July 28, 2023
Rancher Desktop v. 1.7.0 and Kubernetes 1.25.6
### Repro Steps
None, it just freeze randomly, sometimes after fresh reboot on initial start (does not start at all), sometimes after 7 hours working fine
### Expected Behavior
No freeze
### Actual Behavior
WSL freezes, so I have to shut it down with "wsl.exe --shutdown" and reboot it with "wsl -d Ubuntu" after it started up it works but it can crash at any time again.
### Diagnostic Logs
[WslLogs-2023-08-10_13-13-37.zip](https://github.com/microsoft/WSL/files/12312394/WslLogs-2023-08-10_13-13-37.zip)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the attached WslLogs-2023-08-10_13-13-37.zip alongside the reported Windows, WSL, kernel, Ubuntu, PhpStorm, Rancher Desktop, and Kubernetes versions. Compare the initial-start and delayed-freeze cases, using the reported wsl.exe --shutdown and wsl -d Ubuntu commands as the recovery baseline. Done means identifying a reproducible cause or a validated fix for the random freezes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, kubernetes, linux, ubuntu
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100