Insufficient system resources exist to complete the requested service.
Please fill out the below information:
- Your Windows build number: (Type
verat a Windows Command Prompt)
Microsoft Windows [Version 10.0.19041.264]
- What you're doing and what's happening: (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)
Trying to execute kali linux in WSL2 results into an error
- What's wrong / what should be happening instead:
The error is Insufficient system resources exist to complete the requested service. however the instance should run correctly. Rebooting solves the issue
Restarting the HV Host Service seems to work too.
In explorer, type in address bar: \\wsl$
then enter. It will show linux path.
Then you can click the linux symbol in navigation pane to list the linux path.
I am using Insider 19624.1000. In previous build, there isn't any error like that.
But in the build I am using right now, it will show Insufficient system resources exist to complete the requested service when you click the linux symbol in navigation pane without accessing \\wsl$ first.
I can confirm this issue with Debian (I don't think it matters what flavor of Linux you have). Same version as the one described in the issue. The only difference is that the only way I can fix it is rebooting or logging out and then back in. Restarting the HV Host Service does not work for me.
Edit: logging out and back in doesn't always work either.
What's your CPU and how much RAM do you have?
For me it was on Ryzen 1700x and 32Gb Ram
Then 16 threads and 32Gb of RAM. This issue #5240 was very similar. Try creating a .wslconfig file and reduce the numbers of processors and RAM used for the WSL2 VM.
I guess the main difference is that for me everything works normally ok with the default settings. It was only a temporary issue which got fixed by restarting the service so I can live without cutting down the vm resources but I thought it would be important to report
What's your CPU and how much RAM do you have?
My specs aren't that great, but most of the time I have no issues with WSL2. Right now I booted into my computer and it didn't work. I logged out and then back in and everything worked fine.
- CPU: AMD Ryzen 7 2700U Quad-Core
- RAM: 8 GB (1 GB is allocated for the integrated GPU)
And I agree with @ioweb-gr. It doesn't always happen. For me, most of the time it works fine. And like I said, for some reason, restarting the service doesn't work for me though, so what I usually do is start WSL2 as soon as I boot into my computer and if it doesn't work, just log in again or reboot until it works. Then I don't close it 😅
How about the Virtual memory? Do you let Windows to manage the paging file size automatically?
Yeah, that option is enabled!
I'm out of ideas. But it's curious that both CPUs are AMD.
I had the same problem, using WLS 2 on a notebook with AMD processor.
- CPU: AMD Ryzen 7 3700U Quad-Core
- RAM: 8 GB (2 GB are allocated for the integrated GPU)
I wonder if it has anything to do with the fact that I added \\wsl$\Debian to my Quick Access menu. When I open the File Explorer shortly after logging in, the Debian entry doesn't initially show up in the Quick Access menu (only after a while).
@rescenic mentioned that they can reproduce this issue when they try to access the VM's folder directly, without entering \\wsl$ first. Maybe this happens when the system tries to load the folder in the Quick Access menu too?
I've deleted the entry from the menu now and I'll let you know how it goes!
Same issue once a week or so, ryzen 7 2700x and 16gb RAM. Only way i've found to fix is a windows Restart
I haven't had this error since I removed the Quick Access entry (granted, it's only been 3 days), however, I did see a different error yesterday (which was also fixed by logging out and in):
It's weird that pretty much everyone who is facing this issue has a Ryzen CPU.
Edit: the original issue happened again.
Same issue - 1950X Threadripper / 32gb of RAM.
The same for me - Ryzen 5 mobile second gen / 8GB ram + virtual memory
Same issue on 2700x 16gB of RAM
Do you all have Fast Startup enabled? Try turning it off, reboot Windows and see if the issue still happens.
Also have this issue, R5 1600 + 16GB RAM
Same,
Ryzen 1600+8GB RAM