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

服务端只能显示本机负载情况,无法接受其他客户端负载信息 #27

Closed
misakamisaka10086 opened this issue Jul 25, 2020 · 4 comments

Comments

@misakamisaka10086
Copy link

服务端内核python版本2.7.5,centos 7内核3.10.0-1062.18.1.el7.x86_64

@misakamisaka10086
Copy link
Author

服务端python版本2.7.5,centos 7内核3.10.0-1062.18.1.el7.x86_64
客户端python版本2.75,centos 7 内核5.7.9-1.el7.elrepo.x86_64
都已关闭防火墙,serverstatus显示启动成功,但是负载状态: undefined%,

@cokemine
Copy link
Owner

Hi,
请问是只有负载不能正常显示吗,内存之类的都可以?

@cokemine
Copy link
Owner

Hi,
@misakamisaka10086
我刚刚测试了一下
目前来看估计5内核就会出现这种情况,详见issue #11
原因未知(我啥都不会),不过目前暂时的解决方法就是注释掉169行的data = s.recv(1024),然后重启客户端
https://github.com/CokeMine/ServerStatus-Hotaru/blob/1ec64f6c4937b5ef2073c2d6164197be7ddc5df3/clients/status-client.py#L169

@misakamisaka10086
Copy link
Author

嗨,
@ misakamisaka10086
我刚刚测试了一下
目前来看估计5内核就会出现这种情况,详见issue #11
原因未知(我啥都不会),不过目前暂时的解决方法就是注释掉169行的数据= s.recv(1024),然后重启客户端
https://github.com/CokeMine/ServerStatus-Hotaru/blob/1ec64f6c4937b5ef2073c2d6164197be7ddc5df3/clients/status-client.py#L169

您好,非常感谢您的回复,目前已通过更新客户端解决此问题,谢谢ღ( ´・ᴗ・` )比心

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants