vmware-archive / octant

Highly extensible platform for developers to better understand the complexity of Kubernetes clusters.
https://octant.dev
Apache License 2.0
6.28k stars 483 forks source link

Octant Crashes the Chrome and Windows System #920

Open yuezhizizhang opened 4 years ago

yuezhizizhang commented 4 years ago

What steps did you take and what happened: Octant is deployed in a remote Kubernetes cluster Pod. Open Octant in a Chrome browser. Leave the Tab open for 2 hours. Then Hibernate Windows and have lunch. After coming back and startup Windows again, Chrome is responding very slowly. After a while, Chrome is not responding and Windows is not responding at all. The only workaround is power off Windows and power on.

It happens everytime I open Octant in a Chrome tab.

What did you expect to happen: Octant should not crash Chrome and Windows.

Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]

Environment: Chrome browser: Version 73.0.3683.86 Windows 10: OS build: 18363.778

wwitzel3 commented 4 years ago

Hi @yuezhizizhang sorry that is happening. I have a couple questions that will help me as I look in to this issue.

yuezhizizhang commented 4 years ago

@wwitzel3 Per discussion with you, it's my first time using Octant. My laptop is a dell Windows. The Windows build is 18363.778.

While accessing Octant from Chrome, at the same time, I'm running WSL and Docker desktop on my machine. But I have verified that without opening Octant, my laptop will not crash after hibernation.

However, with Octant opening, my Chrome becomes slower and slower. And eventually Chrome crashed and my Windows is not responding anymore.

yuezhizizhang commented 4 years ago

@wwitzel3 Per discussion with you, it might be related to websocket memory leak https://stackoverflow.com/questions/56809996/websocket-reconnect-method-seems-to-cause-memory-leak-and-not-sure-why

wwitzel3 commented 4 years ago

So I've tried to replicate this a few times with no luck. Are you running any plugins with Octant?

yuezhizizhang commented 4 years ago

@wwitzel3 Run Octant as a Pod in the cluster.