alibaba / kt-connect

A toolkit for Integrating with your kubernetes dev environment more efficiently
https://alibaba.github.io/kt-connect/#/
GNU General Public License v3.0
1.48k stars 231 forks source link

ktctl preview tcp 连接不释放问题 #382

Open jybjobs opened 1 year ago

jybjobs commented 1 year ago

Describe the bug A clear and concise description of what the bug is. 用ktctl preview 把本地服务映射到环境的时候,ktctl 运行一段时候后会报socket: too many open files; 分析发现 kt-connect-shadow容器中产生了很多CLOSE_WAIT 的tcp连接无法释放。

Log please add -d to debug log

image image

Environment (please complete the following information):

Additional context Add any other context about the problem here.