microsoft / WSL

Issues found on WSL
https://docs.microsoft.com/windows/wsl
MIT License
17.05k stars 798 forks source link

WSL Freezes Randomly #10378

Open Rskut opened 11 months ago

Rskut commented 11 months ago

Windows Version

Microsoft Windows [Version 10.0.19045.3324]

WSL Version

1.2.5.0

Are you using WSL 1 or WSL 2?

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

HuaHuaY commented 4 weeks ago

I fix my wsl freeze by following https://github.com/microsoft/WSL/issues/11066#issuecomment-2146690275 .

Change autoMemoryReclaim from gradual to dropcache

miroi commented 1 week ago

My "ase gui" graphics application of https://wiki.fysik.dtu.dk/ase/index.html is giving frozen windows ...I have the updated WSL and Ubuntu 22.04LTS. What can be wrong ? See also https://gitlab.com/ase/ase/-/issues/1511 , this is for "ase gui".