question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

When accessing to code-server CPU usage goes crazy high on the Server side

See original GitHub issue

OS/Web Information

  • Web Browser: Firefox 88.0
  • Local OS:MacOS big sur 11.2.3(20D91)
  • Remote OS:Ubuntu 20.04 LTS
  • Remote Architecture: x64
  • code-server --version: 3.9.3 fe2dc2deb08e378069891b622bb62ad1d261d1b1

Steps to Reproduce

  1. run code-server
  2. access to code-server

Expected

Just runs well

Actual

CPU usage for code-server (node) goes up to over 100% (over 1 cpu full) If accessing 2 clients, 2 node goes up to over 100%, Also if 3, 3 node goes up to over 100% (It is 300% for now) …And gets bigger and bigger, Server PC fan goes incredibly run fast…

Screenshot

screenshot with 1 connected screenshot with 2 connected

Notes

This issue can be reproduced in VS Code: maybe no

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
code-ashercommented, Apr 27, 2021

Yeah at first glance I would think this is likely an extension issue as well. High CPU load seems to be a common issue in their tracker (5/12 are CPU related 😛)

1reaction
SJang1commented, Apr 28, 2021

Yes, found out that it is a Python Extension bug. Downgraded to 2020.11.~~ and it now works… Hmmm…

Read more comments on GitHub >

github_iconTop Results From Across the Web

When accessing to code-server CPU usage goes crazy high ...
When accessing to code-server CPU usage goes crazy high on the ... CPU usage for code-server (node) goes up to over 100% (over...
Read more >
visual studio code - VsCode Server, high CPU use - Super User
The issue is probably not a problem with VsCode, but an extension. Try to manually disable each extension that is installed in WSL....
Read more >
Coder on Twitter: "Code-server just got better. reduced ...
Code-server just got better. ✓ reduced baseline CPU/memory usage ✓ significantly improved performance ✓ debugging fixed. Every time you contribute to the.
Read more >
Random High CPU Usage - visual studio code - Stack Overflow
Generally, this seems to be related to the window where I have a SQL server project. Below is the output from code --status...
Read more >
Node.js makes fullstack programming easy with server-side ...
js relies on the cluster module, which is a load balancer that distributes processes across all available CPU cores. This allows Node.js ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found