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

Lens making too many network call even when the UI is closed #2399

Closed
nitinsh99 opened this issue Mar 26, 2021 · 3 comments · Fixed by #6614
Closed

Lens making too many network call even when the UI is closed #2399

nitinsh99 opened this issue Mar 26, 2021 · 3 comments · Fixed by #6614
Labels
bug Something isn't working

Comments

@nitinsh99
Copy link

Describe the bug
We have been seeing huge number of network calls made by lens. I assume it does heavy polling against cluster but the issue is that even when the I close the app, network traffic continues. i.e when app is closed but the lens icon is still visible in mac os system tray at the top

To Reproduce
Steps to reproduce the behavior:

  1. Open lens
  2. Open activity monitor on mac > network
  3. Notice the network traffic
  4. Now close the lens app by clicking on red close button in the lens app ( do not force quite from system tray)
  5. Open activity monitor on mac > network
  6. You will notice there is still a lot of network activity.

Expected behavior
When the UI is closed the background lens process shouldn't spam cluster

Screenshots
Following network activity by lens when ui is not even running
Screen Shot 2021-03-26 at 10 29 45 AM

Environment (please complete the following information):

  • Lens Version: 4.1.5
  • OS: max os x 10.15.6
  • DMG
@nitinsh99 nitinsh99 added the bug Something isn't working label Mar 26, 2021
@jim-docker
Copy link
Contributor

jim-docker commented Apr 6, 2021

I think this is working as intended. If you disconnect all your clusters in Lens before closing the UI window do you still see network activity after closing the UI? If you don't want any network activity you should disconnect your clusters or you can just close the tray...

@systemmonkey42
Copy link

systemmonkey42 commented Sep 27, 2021

I just wanted to say I didn't notice the network activity specifically, but the very high cpu usage.

My laptop starts to run hot and rapidly drains the battery if I close the UI but don't exit the tray icon.

I am on version 5.2.4 on Windows, so its clearly a different scenario. When it happens again I'll create a new issue with screenshots.

@deB4SH
Copy link

deB4SH commented Oct 7, 2021

Hi all,
I'm also experiencing the issue explained by @systemmonkey42 - after a while of usage lens generates a lot of background noise that results in a high cpu usage - on my i7-7820HQ up to 25-30% cpu usage...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants