When accessing to code-server CPU usage goes crazy high on the Server side
See original GitHub issueOS/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
- run code-server
- 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


Notes
This issue can be reproduced in VS Code: maybe no
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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 😛)
Yes, found out that it is a Python Extension bug. Downgraded to 2020.11.~~ and it now works… Hmmm…