Skip to content
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

Fail to select server from list #699

Open
yujun777 opened this issue Mar 23, 2019 · 13 comments
Open

Fail to select server from list #699

yujun777 opened this issue Mar 23, 2019 · 13 comments

Comments

@yujun777
Copy link

当server负载较大时(32核,cpu 负载 300%~ 700% ), client会报 "[R1][E112]Fail to select server from list://127.0.0.1:10002 lb=la", 有时候client只是偶尔报几下。有时候一旦开始报了,后面就一直失败了,所有消息都发送失败,但如果此时再开一个新client,新client是可以正常收发消息的

@jamesge
Copy link
Contributor

jamesge commented Mar 23, 2019

用其他算法有类似的现象么?

@yujun777
Copy link
Author

好, 那我先换下其他算法试试

@yujun777
Copy link
Author

使用rr算法跑了两天,目前为止没有报这种问题

@ghost
Copy link

ghost commented Mar 29, 2019

也遇到了,la, 只有一个节点也出现Fail to select server, 是否可以做加判断, 只有一个节点时不使用 lb?

@yujun777
Copy link
Author

两个节点时使用la也遇到过

@mingolm
Copy link

mingolm commented May 28, 2019

我也遇见了,另外,使用la和rr,random都不行,请问如何解决啊

@jamesge
Copy link
Contributor

jamesge commented May 28, 2019

@linlianmin 非la算法遇到这个问题一般是server全挂了。

@mingolm
Copy link

mingolm commented May 28, 2019

我用的http:// ,使用rr算法,可以确保源站没挂,现在的现象是 有成功,也有失败,看失败的记录就是fail to select server,使用的pooled,感觉有点象pooled连接池里连接被用光了,没有排队,直接返回错误了,有空闲就又继续请求?

@BADBOY-Aaron
Copy link

这个问题现在解决了吗?我也遇到了

@li4951
Copy link

li4951 commented Mar 14, 2021

@reachfish 请问这个问题解决了吗?我也遇到了。版本0.9.6

@kwins
Copy link

kwins commented Feb 9, 2022

0.9.6 版本 ,我也遇到了,当下掉一个节点后,只剩下一个节点,会出现

@wwbmmm
Copy link
Contributor

wwbmmm commented May 4, 2023

We close this issue because it is irreproducible and inactive for a long time.
If you can reproduce this issue with the latest version of bRPC, please reopen this issue and tell us how to reproduce.

@wwbmmm wwbmmm closed this as completed May 4, 2023
@xiedeacc
Copy link

reprocuce this issue in 1.3.0

@wwbmmm wwbmmm reopened this May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants