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 and Stack Overflow #19232

Closed
2 of 21 tasks
tsmaeder opened this issue Mar 9, 2021 · 1 comment
Closed
2 of 21 tasks

High CPU and Stack Overflow #19232

tsmaeder opened this issue Mar 9, 2021 · 1 comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.

Comments

@tsmaeder
Copy link
Contributor

tsmaeder commented Mar 9, 2021

Describe the bug

When starting up a self-hosting workspace, I get very high CPU. Profiling revealed that a lot of time was spent appending stuff to an output buffer. The "hosted-instance-log" output stream revealed a very large number of messages like this:

Extension-Host:RangeError: Maximum call stack size exceeded
    at DisposableCollection.get (/home/theia/node_modules/@theia/core/lib/common/disposable.js:65:23)
    at DisposableCollection.dispose (/home/theia/node_modules/@theia/core/lib/common/disposable.js:72:18)
    at DisposableCollection.disposable.dispose (/home/theia/node_modules/@theia/core/lib/common/disposable.js:101:13)
    at DisposableCollection.disposable.dispose (/home/theia/node_modules/@theia/core/lib/common/disposable.js:101:13)
    at DisposableCollection.disposable.dispose (/home/theia/node_modules/@theia/core/lib/common/disposable.js:101:13)
    at DisposableCollection.disposable.dispose (/home/theia/node_modules/@theia/core/lib/common/disposable.js:101:13)
    at DisposableCollection.disposable.dispose (/home/theia/node_modules/@theia/core/lib/common/disposable.js:101:13)
    at DisposableCollection.disposable.dispose (/home/theia/node_modules/@theia/core/lib/common/disposable.js:101:13)
    at DisposableCollection.disposable.dispose (/home/theia/node_modules/@theia/core/lib/common/disposable.js:101:13)
    at DisposableCollection.disposable.dispose (/home/theia/node_modules/@theia/core/lib/common/disposable.js:101:13)

This looks a lot like we're directly or indirectly adding a DisposableCollection to itself.

Che version

  • latest
  • nightly
  • [x ] other: 7.27.0

Steps to reproduce

n/a

Runtime

  • kubernetes (include output of kubectl version)
  • Openshift (include output of oc version)
  • minikube (include output of minikube version and kubectl version)
  • minishift (include output of minishift version and oc version)
  • docker-desktop + K8S (include output of docker version and kubectl version)
  • other: (please specify) dogfooding instance

Installation method

  • chectl
    • provide a full command that was used to deploy Eclipse Che (including the output)
    • provide an output of chectl version command
  • OperatorHub
  • I don't know

Environment

  • my computer
    • Windows
    • Linux
    • macOS
  • Cloud
    • Amazon
    • Azure
    • GCE
    • other (please specify) dogfooding instance
  • other: please specify

Eclipse Che Logs

Additional context

@tsmaeder tsmaeder added the kind/bug Outline of a bug - must adhere to the bug report template. label Mar 9, 2021
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Mar 9, 2021
@tsmaeder
Copy link
Contributor Author

tsmaeder commented Mar 9, 2021

Duplicate of #18870

@tsmaeder tsmaeder marked this as a duplicate of #18870 Mar 9, 2021
@tsmaeder tsmaeder closed this as completed Mar 9, 2021
@metlos metlos removed the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

No branches or pull requests

3 participants