-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
High load on the cpu #32
Comments
If this is specific to the application you're running inside your shell then I need to know what that application is. Do you have a set of steps that I can use to reproduce your issue? |
I apologize for the long response. I don't even know how to help you reproduce my problem) I did not use any special applications. Maybe it has something to do with the fact that earlier i updated ubuntu to version 22.04 with this command: sudo do-release-upgrade -d? Maybe the problem was that I was using colorls, which is written in While solving this problem i came across this post: and tried to install ubuntu 22.04 and activate I installed ubuntu 22.04 (from scratch, from the microsoft store) and specified this setting in the
And after that, I have accessed the services via I installed the native Docker for linux on - without Docker Desktop for Windows - so far everything seems to work fine: the docker service runs when the system is aging and I can manage docker with I also have no problem installing and can run postgres inside wsl and connect to it via phpstorm. I can also manage postgres via systemctl: Only 2 services remained unactivated: I solved it this way: I commented out the line in the
and edited the
Then these services are working: One important thing: I specified the path to wsl in windows terminal like this: C:\Program Files\WindowsApps\CanonicalGroupLimited.Ubuntu22.04LTS_2204.0.9.0_x64__79rhkp1fndgsc\ubuntu2204.exe If you set it like this: It seems to work: I can open folders via I can also download and install snap packages: For example, I can run the chromium GUI. I don't know if this is a good solution, maybe this will cause some problems? But so far everything is working fine. Do you know what limitations or disadvantages (problems) there are in this method I used? And what advantages does your way of activating systemd have? Maybe your method has some advantages? |
Hi, thanks for your script! 😃 🚀
I installed your script and after that, for some reason, the cpu load increases a lot when running normal commands - it was not like that before I installed the script. I showed it in the video: I opened the search and just moved through the previous commands, - on the right side it says: "loading" and at that moment the cpu load increases.
After that I deleted the script and installed it without GPG4Win and without the custom kernel - but even in this case the load on the CPU when running simple commands increases significantly. That said, otherwise everything seems to work fine. I also added different variants to exceptions for windows defender: wsl.exe, wslhost.exe, ubuntu2004.exe and also added to exceptions folders containing executable wsl files. But still, the cpu load increases significantly.
What could be the reason and do you have any idea how to fix it?
heavy.load.on.cpu.mp4
The text was updated successfully, but these errors were encountered: