liqiang-fit2cloud
liqiang-fit2cloud
Fixed in [Terminate zombie process](https://github.com/KubeOperator/webkubectl/commit/4ef7744a6ec9c7e8d67d46bd0792d0b183792d6a).
@Lionelpang 感谢你提出的问题,我们已在本地重现并确认它是bug。 问题原因:正常情况下用户输入exit或关闭浏览器tab时都会有一个callback通知server端终止进程,非正常情况下比如网络突然断开时就无法触发callback通知server端终止进程,从而产生了僵尸进程。 解决方案:引入一个超时机制,如果在指定时长内server和client之间未收到ping pong,则认为连接已关闭,server执行中止进程。“指定时长”可以由环境变量LOST_PING_TIMEOUT_SECONDS指定,类型为int64,单位为秒,默认值为180。需要说明的是在超时时间范围内,断网并恢复网络之后,未关闭的窗口可以自动恢复连接继续使用,所以需要考虑多种情况合理设置超时时间。
Fixed in release [v2.2](https://github.com/KubeOperator/webkubectl/releases/tag/v2.2).
Nice blog! I have just shared the blog in facebook and I will draft a CONTRIBUTING.md file soon.
Fixed in commit https://github.com/KubeOperator/webkubectl/commit/a966ccc802f9ad51321eda61f0211150db364928
Fixed in release [v2.0](https://github.com/KubeOperator/webkubectl/releases/tag/v2.0).
Resolved in commit https://github.com/KubeOperator/webkubectl/commit/887132052d9867cf931dd4f48bf9e5f3ba2998a2.
Resolved in release [v2.4.0](https://github.com/KubeOperator/webkubectl/releases/tag/v2.4.0).
容器日志里有报错么?
已经重现问题,正在尝试修复。