Comments (7)
Logs are required for review from WSL team
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
How to collect WSL logs
Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1
The scipt will output the path of the log file once done.
Once completed please upload the output files to this Github issue.
Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.
from wsl.
/emailed-logs
from wsl.
Diagnostic information
Found '/emailed-logs', adding tag 'emailed-logs'
from wsl.
Thank you @Canic.
I'm not seeing anything abnormal in the logs. can you try to:
- Start WSL
- In another shell, run
wsl --debug-shell
as administrator - Take a screenshot of
top
in that shell
And share the output here ? I'd be interested to see which process consumes the CPU.
from wsl.
I did it now, but top doesn't shows anything with high cpu usage:
Any other ideas what i could do that we found out whats going on?
from wsl.
Interesting. It looks like the CPU is being consumed by wslservice.exe, and not the actual VM. Let's try something: does removing:
networkingMode=mirrored
And then running wsl --shutdown solve the issue ?
from wsl.
Hey @OneBlue ,
Your suggestion regarding networkingMode has been quite helpful and is assisting me in identifying the problem.
The issue lies in using a Yubikey as an SSH GPG Key. To transfer the key from my Windows machine to the WSL2 distro, I am using a transfer Pageant.
When I save this file (wsl2-ssh-pageant.exe) directly on the distro (for instance, ~/.ssh/wsl2-ssh-pageant.exe) and initiate it from .bashrc, the problem arises after connecting to an SSH server with ForwardAgent yes enabled.
However, when I save wsl2-ssh-pageant.exe directly on the Windows machine (for example, "/mnt/d/wsl2-ssh-pageant.exe"), the problem disappears.
from wsl.
Related Issues (20)
- Nested virtualization unsupported on WSL2 while the CPU should. HOT 10
- WSL 2.2: `networkingMode=mirrored` makes Podman unable to forward ports for Kind cluster HOT 8
- WSL2 stopped working: VirtualMachinePlatform & WSL feature not recognized properly HOT 4
- Key Request Service (Documentation/security/keys/request-key.rst) unable to perform upcalls HOT 5
- Disabling interop via `/proc/sys/fs/binfmt_misc/WSLInterop` does not work HOT 5
- point `bash.exe` to a different bash other than WSL2 bash HOT 6
- Unable to launch wsl2 HOT 1
- Unable to launch wsl2 HOT 6
- Fast way to obtain the version of current WSL instance HOT 4
- Ubuntu 20.04 downloads a zero size zlib source code package HOT 4
- failed ping to local laptop nic IP or local VB Ubuntu HOT 2
- WSL GUI not enabled HOT 2
- Add an option which only root user can execute Windows binary in WSL HOT 3
- wsl blocked visual studio 2022 cmake project HOT 6
- Running WSL results in Wsl/CallMsi/ERROR_PATH_NOT_FOUND HOT 13
- On every wsl command I am getting 'Error code: Wsl/CallMsi/ERROR_PATH_NOT_FOUND' HOT 5
- wsl2 install ubuntu failed : error code 0x80070520 HOT 5
- Limit size of wsl disk HOT 4
- Get the full version from WSL HOT 2
- WSL writes to mounted windows drive increases wsl drive size HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wsl.