WSL2 slowing down over time issue

Coder
1 min readJan 9, 2021

I am recently using Windows 10 as my development environment since my Macbook Pro late 2016 version is lagging with lots of containers running on it.

The most powerful feature that made me move from Macbook to Windows without buying a new Macbook Pro was WSL2.

However, it was slowing down over time and after 5 to 10 minutes later I couldn’t even connect to the WSL2 through my terminal.

Fortunately, it seems like there is a very easy solution to this annoying problem.

Just type the following on the WSL2 terminal!

sudo apt update && sudo apt upgrade

Very easy, but it took me quite a long time to figure this out.

However, there are other reasons that cause this issue.

If this method didn’t solve your issue, try other methods from the following issue ticket:

https://github.com/microsoft/WSL/issues/4498

I hope this article or the issue ticket would solve your problem.

--

--