8000 constant heavy CPU usage by bootstrap-fork.js · Issue #7230 · coder/code-server · GitHub
[go: up one dir, main page]

Skip to content

constant heavy CPU usage by bootstrap-fork.js #7230

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

Closed
2 tasks done
mirekphd opened this issue Feb 26, 2025 · 2 comments
Closed
2 tasks done

constant heavy CPU usage by bootstrap-fork.js #7230

mirekphd opened this issue Feb 26, 2025 · 2 comments
Labels
bug Something isn't working upstream:vscode Needs to be fixed upstream in VSCode

Comments

@mirekphd
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Firefox
  • Local OS: Ubuntu 22.04 LTS
  • Remote OS: Ubuntu 22.04 LTS
  • Remote Architecture: x64
  • code-server --version:
    1.97.2
    34b8d2e
    x64

Steps to Reproduce

  1. docker run the latest version of my latestml/ml-gpu-py311-cuda118-vsc-hf:latest container with latest code-serverand a few useful VSC extensions pre-installed
  2. run Terminal in code-server
  3. run htop
  4. order by CPU (descending)
  5. notice multiple (e.g. 3 in case of my 12-threads 6-cores server) processes of /usr/lib/code-server/lib/vscode/out/bootstrap-fork.js running (executed by /usr/lib/code-server/lib/node), each with "100%" i.e. 1 full CPU thread (here: 3/12=1/4 of total CPU capacity utilized in total)

Expected

No heavy CPU background usage.

Actual

1/4 of all CPU threads are being constantly used (3 out of 12).

Logs

Screenshot/Video

No response

Does this bug reproduce in native VS Code?

Yes, this is also broken in native VS Code

Does this bug reproduce in GitHub Codespaces?

Yes, this is also broken in GitHub Codespaces

Are you accessing code-server over a secure context?

  • I am using a secure context.

Notes

No response

@mirekphd mirekphd added bug Something isn't working triage This issue needs to be triaged by a maintainer labels Feb 26, 2025
@code-asher
Copy link
Member
code-asher commented Mar 6, 2025

Your report says this reproduces in native VS Code and Codespaces, could we report it upstream?

@code-asher
Copy link
Member

Closing as an upstream issue.

@code-asher code-asher closed this as not planned Won't fix, can't repro, duplicate, stale May 22, 2025
@code-asher code-asher added upstream:vscode Needs to be fixed upstream in VSCode and removed triage This issue needs to be triaged by a maintainer labels May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream:vscode Needs to be fixed upstream in VSCode
Projects
None yet
Development

No branches or pull requests

2 participants
0