You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2019/08/07 02:35:26 UTC
[GitHub] [incubator-brpc] zhangwei17 commented on issue #862: 使用ip:port字符串的channel出现地址混乱的情况
zhangwei17 commented on issue #862: 使用ip:port字符串的channel出现地址混乱的情况
URL: https://github.com/apache/incubator-brpc/issues/862#issuecomment-518915452
查看代码后,初步定位是连接建立后,在发送数据前,等待是否可写的时候,等待超时导致的。
查看当时的运行环境,网卡带宽充足、下游压力并不大、连接数也并不高。
出现此异常情况的机器列表是我自己实现的zk的naming service(并未使用事件出发,使用的是轮询方式,100ms的getservers间隔),load balance策略是RR轮询。后来改为使用file:///path/to/machine/list方式,问题就不再出现。
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org