-
Notifications
You must be signed in to change notification settings - Fork 50
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
一直在复用已关闭的连接 #21
Comments
哇你这是做了什么操作呢 |
没啥操作啊,/usr/local/tcp2ws/bin/tcp2ws wss://xxxxxxx.com/report 127.0.0.1:35601,接入测的是cloudflare,我这个是用来上报机器状态信息用的 重启进程后就正常了
|
可以找到循环之前的日志吗,因为正常情况下另一个线程会标记删除已经关掉的ws连接 |
我得找一下,不过日志量太大了有点难找(一天时间貌似产生了几百万条) |
过滤了一上午,发现就这里开始异常的,后面几个小时几百万条都是前面截图那种了(昨晚升级到10.4的,今天上午大概有十几台机有这类问题) |
找到问题了,已经改好了,造成这个问题的原因是因为ws被掐断后客户端马上重连也无法连上导致的 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在日志里面发现进程一直在复用关闭的连接,导致一直连接不上,除非重启进程
The text was updated successfully, but these errors were encountered: