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

最新版(20200321)的TCP模式好像有点问题 #769

Closed
syuez opened this issue Mar 22, 2020 · 8 comments
Closed

最新版(20200321)的TCP模式好像有点问题 #769

syuez opened this issue Mar 22, 2020 · 8 comments

Comments

@syuez
Copy link

syuez commented Mar 22, 2020

两台服务器(TCP模式)运行一段时间(时间无规律,1小时或者几小时,但不会超过一天)后就无法通信了,一台以UDP模式运行的服务器则正常。重启服务端进程后又能恢复正常通信了。20200226版本没有遇到这样的问题,目前已经切换到该版本。
PS.使用的时linux-amd64版本

@maxwellzh
Copy link

0321服务端(Linux64)用起来好像经常会断流(我没用tcp选项),目前已经切回0226了

@xtaci
Copy link
Owner

xtaci commented Mar 22, 2020

golang1.14.1应该还有问题!

@pokedo0
Copy link

pokedo0 commented Mar 22, 2020

8IbVxJ.png

8IbOdx.png

好像会经常卡死

@xtaci
Copy link
Owner

xtaci commented Mar 22, 2020

是的,go1.14貌似对timer做了改动,可能行为上有差别,我在检查

@xtaci
Copy link
Owner

xtaci commented Mar 22, 2020

golang/go#6239
应该和这个改动相关, 我也发现有卡死得问题!

@xtaci
Copy link
Owner

xtaci commented Mar 22, 2020

#771

@xtaci xtaci closed this as completed Mar 22, 2020
@xtaci
Copy link
Owner

xtaci commented Mar 22, 2020

在771 issue 讨论

@xtaci
Copy link
Owner

xtaci commented Mar 22, 2020

我在 #771 放了一个更严格的时钟测试一下: @maxwellzh @pokedo0

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

4 participants