-
Notifications
You must be signed in to change notification settings - Fork 545
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
[求助/Help] lbagent 有几率出现端口被占用 #22179
Comments
应该是LB节点对应的宿主机上的端口和监听的端口冲突了,才会报这个错误,但发现是瞬时冲突,lb pod报错后,检测宿主机这个端口已经没了 |
这种情况出现在串行API创建多个监听端口的时候,偶发性出现端口冲突的报错。在创建过程中reload haproxy的时候出现了异常。使用如下命令重启lbagent之后,lbagent又恢复了正常。 1、重启之后lbagent正常启动,至少说明重启之后端口不被占用,即非宿主机其他服务(kubelet等)使用的常驻端口。 |
如果负载均衡节点上的监听比较多(比如达到2000个以上),需要调整如下参数么
|
问题重现: @swordqiu
在容器内部发现一个ESTABLISHED连接占用未释放:
导致haproxy一直循环重启失败 |
@yulongz 这个是VPC的LB吗? |
vpc内虚拟机对应的lbagent。 |
限制端口范围解决问题。 issue可以关闭了 |
负载均衡功能:页面创建监听, default-lbagent 有几率报错端口被占用,导致整个haproxy挂掉, 但重启该pod后正常
请问有遇到过这个bug吗?
问题点是:假设端口真被haproxy占用,重启pod应该依旧报错,但重启后就正常了
version: v3.10.15
The text was updated successfully, but these errors were encountered: