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

The browser tab for the Busola dashboard is consuming 100% cpu after sometime of leaving it open #3296

Open
akucharska opened this issue Aug 23, 2024 · 2 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@akucharska
Copy link
Contributor

Description
The browser tab for the Busola dashboard is consuming 100% cpu after sometime of leaving it open

Expected result

Actual result

Steps to reproduce
(1) log in to the Kyma dashboard and navigate to any page,
(2) put the computer to sleep for >1h,
(3) observe that the tab navigates to https://dashboard.kyma.cloud.sap/clusters and CPU consumption increases to 100%.

Troubleshooting

@akucharska akucharska added the kind/bug Categorizes issue or PR as related to a bug. label Aug 23, 2024
@mrCherry97
Copy link
Contributor

there is probably problem with polling when the backend is throwing error, need to add error to this if: https://github.com/kyma-project/busola/blob/main/src/shared/hooks/BackendAPI/useGet.js#L103
need to try to fix the silentRefetch function

@finally-fancy
Copy link

I have observed the same issue. It appears that in the event of an error, the clearInterval(intervalId); function is not called, leading to the continuous creation of interval functions. This continues until all resources are exhausted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants