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 Consumption watcherservice node when use WSL remote project #76303

Closed
BettoISC opened this issue Jun 28, 2019 · 3 comments
Closed

High CPU Consumption watcherservice node when use WSL remote project #76303

BettoISC opened this issue Jun 28, 2019 · 3 comments
Assignees

Comments

@BettoISC
Copy link

Issue Type: Performance Issue

Just Opened VSCode and conected to WSL, and the process:
/root/.vscode-server-insiders/bin/[HASH]/node /root/.vscode-server-insiders/bin/[HASH]/out/bootstrap-fork --type=watcherService

image

image

image

VS Code version: Code - Insiders 1.36.0-insider (fe0c3e7, 2019-06-28T12:34:35.956Z)
OS version: Windows_NT x64 10.0.18362
Remote OS version: Linux x64 4.4.0-18362-Microsoft

System Info
Item Value
CPUs Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz (4 x 2395)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: unavailable_off
protected_video_decode: unavailable_off
rasterization: unavailable_off
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 7.92GB (2.56GB free)
Process Argv
Screen Reader no
VM 0%
Item Value
Remote WSL
OS Linux x64 4.4.0-18362-Microsoft
CPUs Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz (4 x 2401)
Memory (System) 7.92GB (2.56GB free)
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
    0	    89	 10880	code-insiders main
    4	    82	   236	   gpu-process
    2	    63	  2084	   window (Issue Reporter)
    3	   241	  3388	   window (settings.json - abu-workspace (Workspace) [WSL] - Visual Studio Code - Insiders)
    0	    52	 11388	     extensionHost
    0	    32	  9292	       electron_node wslDaemon.js 
    0	     5	  3604	         C:\WINDOWS\System32\wsl.exe -d ubuntu-18.04 bash -c "'./scripts/wslServer.sh' 'fe0c3e785c22c3ed2d5caa7178488c92d62bdb08' 'insider' '.vscode-server-insiders' 'C:/Users/Beto/AppData/Local/Temp/vscode-remote-wsl/fe0c3e785c22c3ed2d5caa7178488c92d62bdb08/vscode-server-linux-x64.tar.gz'  "
    0	     5	  3420	           C:\WINDOWS\System32\lxss\wslhost.exe {e8e4b39b-de8e-4d08-bc09-92bfd170be47} 456 464 468
    0	    12	  5432	             console-window-host (Windows internal process)
    0	    11	 12124	           console-window-host (Windows internal process)
    0	    13	  9144	   electron-crash-reporter
    0	    68	 11964	   shared-process
Fetching remote diagnostics for 'wsl+ubuntu-18.04' timed out.
Workspace Info

Fetching remote diagnostics for 'wsl+ubuntu-18.04' timed out.;
Extensions (20)
Extension Author (truncated) Version
remote-containers ms- 0.65.0
remote-ssh ms- 0.42.2
remote-ssh-edit ms- 0.42.2
remote-ssh-explorer ms- 0.42.2
remote-wsl ms- 0.38.5
vscode-remote-extensionpack ms- 0.15.0
sublime-keybindings ms- 4.0.3
debugger-for-chrome msj 4.11.5
odoo-snippets mst 0.9.0
vscode-intelephense-client bme 1.1.1
xml Dot 2.5.0
gitlens eam 9.8.2
php-debug fel 1.13.0
sftp lix 1.12.7
rainbow-csv mec 1.1.1
formate Mik 1.1.1
easy-less mrc 1.4.5
python ms- 2019.6.22090
css-auto-prefix spo 0.1.7
wordpress-snippet tun 1.1.5
@aeschli
Copy link
Contributor

aeschli commented Jul 1, 2019

dup of microsoft/vscode-remote-release#864 (comment)

@aeschli aeschli closed this as completed Jul 1, 2019
@BettoISC
Copy link
Author

BettoISC commented Jul 1, 2019

I've already read that thread, I've open this new one since that watcher config didn't work in my case.

@offero
Copy link

offero commented Jul 1, 2019

Seeing this issue now also. The editor is slow.

image

image

Path:
C:\Users\me\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\LocalState\rootfs\home\offero.vscode-server-insiders\bin\fe0c3

Version: 1.36.0-insider (user setup)
Commit: fe0c3e7
Date: 2019-06-28T12:34:35.956Z
Electron: 4.2.5
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.18362

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

3 participants