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

High CPU load node process in WSL #104040

Closed
ThomasHornschuh opened this issue Aug 5, 2020 · 1 comment
Closed

High CPU load node process in WSL #104040

ThomasHornschuh opened this issue Aug 5, 2020 · 1 comment
Assignees

Comments

@ThomasHornschuh
Copy link

Issue Type: Performance Issue

Hi,
I have freshly installed Ubuntu 20.04 LTS WSL1 on my machine (before I had 18.04 LTS which I deinstalled).

Whenever I open a WSL Target, the node process in WSL (I assume the VSCode Remote Server) is running with 100% load (occupiying one thread).

VS Code version: Code 1.47.3 (91899dc, 2020-07-23T13:12:49.994Z)
OS version: Windows_NT x64 10.0.17763
Remote OS version: Linux x64 4.4.0-17763-Microsoft

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2112)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.88GB (8.38GB free)
Process Argv
Screen Reader no
VM 0%
Item Value
Remote WSL
OS Linux x64 4.4.0-17763-Microsoft
CPUs Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2112)
Memory (System) 15.88GB (8.38GB free)
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
    0	    88	  3544	code main
    0	   213	  1780	   gpu-process
    1	    75	  8044	   window (Issue Reporter)
    0	    28	  8772	   utility
    0	    15	 19996	   electron-crash-reporter
    0	   180	 22824	   window (gen_core.py - bonfire-core [WSL] - Visual Studio Code)
    0	    51	  6320	     extensionHost
    0	    31	 22128	       electron_node wslDaemon.js 
    0	     8	  2008	         C:\WINDOWS\System32\wsl.exe -d Ubuntu-20.04 sh -c '"$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh" 91899dcef7b8110878ea59626991a18c8a6a1b3e stable .vscode-server 0  '
    0	    11	 21416	           console-window-host (Windows internal process)
    0	     7	 22324	           C:\WINDOWS\System32\lxss\wslhost.exe {bc388c93-502c-4b0b-8052-3a2644351aa7} 576 584 588
    0	    15	 23644	             console-window-host (Windows internal process)
    0	    79	 25576	   shared-process
Fetching remote diagnostics for 'WSL' failed: sleep: cannot read realtime clock: Invalid argument

Workspace Info

Fetching remote diagnostics for 'WSL' failed: sleep: cannot read realtime clock: Invalid argument
;
Extensions (6)
Extension Author (truncated) Version
gitlens eam 10.2.2
python ms- 2020.7.96456
vscode-modern-vhdl-support rjy 1.0.5
remote-ssh ms- 0.51.0
remote-ssh-edit ms- 0.51.0
remote-wsl ms- 0.44.4
@ThomasHornschuh
Copy link
Author

Checked in the meantime that this is a WSL1 issue:
microsoft/WSL#4898

So it can be closed

@github-actions github-actions bot locked and limited conversation to collaborators Sep 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants