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

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

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

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

mirekphd opened this issue Feb 26, 2025 · 0 comments
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer
Projects
None yet
Development

No branches or pull requests

1 participant