Skip to content
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 not installed gives log spam #134596

Closed
chrispetkau opened this issue Oct 7, 2021 · 1 comment · Fixed by #135495
Closed

WSL not installed gives log spam #134596

chrispetkau opened this issue Oct 7, 2021 · 1 comment · Fixed by #135495
Assignees
Labels
insiders-released Patch has been released in VS Code Insiders polish Cleanup and polish issue terminal-profiles WSL Issue when using WSL
Milestone

Comments

@chrispetkau
Copy link

Issue Type: Performance Issue

Start VSCode.
Open the Output panel.
Select Log (Shared).
Observe the periodic log spam:
"[sharedprocess] [info] WSL is not installed, so could not detect WSL profiles"

Expected results: I do not expect VSCode to be utilizing my CPU for Windows Subsystem for Linux in any way.

VS Code version: Code 1.60.2 (7f6ab54, 2021-09-22T12:00:31.514Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

System Info
Item Value
CPUs AMD Ryzen 9 3900X 12-Core Processor (24 x 4017)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.91GB (24.93GB free)
Process Argv --crash-reporter-id 9f3188aa-2e8f-42b8-8022-391b7ea09789
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
    0	    90	  8196	code main
    0	   165	   968	   window (settings.json - uplift_game - Visual Studio Code)
    0	    12	  4652	     watcherService 
    0	    10	 19600	       console-window-host (Windows internal process)
    0	   108	 20004	     extensionHost
    0	    80	  3496	       "C:\Users\Chris Petkau\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\Chris Petkau\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=20004
    0	    39	  4768	   utility
    0	   108	  8820	   gpu-process
    0	    24	 10696	   crashpad-handler
    0	    80	 16760	   window (Issue Reporter)
    0	    91	 19492	   shared-process
    0	    74	 20136	     ptyHost
    0	     6	  7872	       console-window-host (Windows internal process)
    0	    64	  8860	       C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
Workspace Info
|  Window (settings.json - uplift_game - Visual Studio Code)
|    Folder (uplift_game): more than 20402 files
|      File types: meta(9957) prefab(2949) png(1978) mat(1304) fbx(935)
|                  cs(421) FBX(408) asset(363) tga(98)
|                  shadergraph(90)
|      Conf files: csproj(28) launch.json(1) settings.json(1) sln(1)
|      Launch Configs: unity(9);
Extensions: none
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30358480
pythondataviewer:30285071
pythonvsuse255:30340121
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
vsccppwtct:30378365
pythonvssor306:30344512
bridge0708:30335490
pygetstartedt2:30371810
dockerwalkthru:30377721
bridge0723:30353136
pythonrunftest32:30373476
pythonf5test824:30373475
javagetstartedc:30364665
pythonvspyt187:30373474
pydsgsc2:30361791
vsqsis400:30374798
vsaa593cf:30376535

@aeschli aeschli assigned Tyriar and unassigned aeschli Oct 15, 2021
@Tyriar Tyriar assigned meganrogge and unassigned Tyriar Oct 19, 2021
@Tyriar Tyriar added terminal-profiles WSL Issue when using WSL polish Cleanup and polish issue labels Oct 19, 2021
@Tyriar Tyriar added this to the October 2021 milestone Oct 19, 2021
@Tyriar
Copy link
Member

Tyriar commented Oct 19, 2021

Let's action with #134418, we could warn at most once per session here as an easy fix.

meganrogge added a commit that referenced this issue Oct 20, 2021
meganrogge added a commit that referenced this issue Oct 20, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Dec 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
insiders-released Patch has been released in VS Code Insiders polish Cleanup and polish issue terminal-profiles WSL Issue when using WSL
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants
@Tyriar @aeschli @meganrogge @chrispetkau and others