-
Notifications
You must be signed in to change notification settings - Fork 797
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 takes too long to start after a Windows Update #4673
Comments
I am using WSL2 with build 19023 right now without any issue. Does WSL1 work? One random thought, can you check if vmcompute, LxssManager, dhcp, dnscache, p9rdr services are running? |
Just looked into task manager, tab Services:
|
Strange, now everything works :-) |
We can let the float need-repro for a bit and see if some me2s come in. Can't reproduce here either. |
I'm having exactly the same issue. Can't even install new distros from the Microsoft Store, since they won't install, after being downloaded. |
Do you have Docker Desktop 2.1.5.0 running? I remember, the only thing I did was quitting Docker, but I'm not sure if that was really the fault. |
Hi, 👋🏻, I just updated to 19023, seems to be working fine here |
There were some other reports of this in #4662. |
#4662 is 18362 with a side of |
Thanks @sirredbeard! |
Same for me after this update but I resolved the issue with : CMD + R : optionalfeatures.exe CMD + R optionalfeatures.exe |
I'm not. I'm on windows 10 home, for laziness reasons really, so I can't even run docker |
Just got the same problem. wsl2 machine refused to start. The problem was that there was not enough disk space on the drive pointed as linux swap in .wslconfig. |
Just finished upgrading to 19023, and literally the first thing I did was launch Windows Terminal to see what's up. |
I'm in 19025, wsl2 working well here. |
This worked for me for Windows Version 21H1 (OS Build 19043.867). The Ubuntu WSL wasnt starting anymore, the Ubuntu terminal wasnt listed in the Windows Terminal and the |
Just installed Windows 19023, and WSL seems broken.I noticed this issue happening since 19023. After updating Windows, WSL takes too long, aproximately 30 minutes, to actually start.
What's not working
\\wsl$
wsl
command in CMDbash
command in CMDbash
as default profileExpected behaviour
WSL should work instantly after updating Windows. So, when entering
wsl
in CMD. Network drive mounts to\\wsl$
should be mounted and working.bash
should start the default distro when entering in CMD. Docker should start and all the distros under Resources -> WSL integration should be selected.Actual behaviour
wsl
in CMD does nothing, no errors, nothing.bash
command in CMD just hangs, no erros, nothing.\\wsl$
this error message shows upThings tried so far without success
Enable-WindowsOptionalFeature -Online -FeatureName $("VirtualMachinePlatform", "Microsoft-Windows-Subsystem-Linux")
Infos
Update
After a while, everything started to work again as expected. Now, even after a restart, everything works instantly.
Fixed
I realized that my PC was slow overall, when waking from hybernate or restarting. After fiddling around, I found out that the firewall of Kaspersky Internet Security 2019 was causing the lags, and the slow startup of WSL and all the realted service (network mount, docker, etc..)
The text was updated successfully, but these errors were encountered: