Closed Rayd62 closed 4 months ago
The same issue is repeated here in hy2 (tproxy -> hy2)
The same issue is repeated here in hy2 (tproxy -> hy2)
Hi luckyyyyy,
I did some experiments. My Platform is N100 NUC, when I setup CPU mode of VM with x86_64_v2, x86_64_v2_AES and x86_64_v3, the situation has improved. Now I setup CPU mode with x86_64_v3, the frequency of occurrence becomes less frequent and service is restored much faster than before (3 - 5 min without manual intervention). Hope this info can help u get a better experience, even it is not completely resolved.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days
Operating system
Linux
System version
Client: Linux version 5.15.0-1054-kvm (buildd@bos03-amd64-049) (gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #59-Ubuntu SMP Thu Mar 14 16:03:41 UTC 2024 ---- PVE QEMU VM Server: Linux version 6.1.0-18-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01)
Installation type
Original sing-box Command Line
If you are using a graphical client, please provide the version of the client.
No response
Version
Description
客户端使用sing-box Tproxy 模式,使用nft 将流量重定向到tproxy 端口,会发生不定期的断流现象。 服务器端使用sing-box 的hysteria2 协议。 发生故障时,客户端负载并不高,查看PVE 状态和htop 均为发现资源耗尽的情况。
客户端debug 可以看到如下的一些异常信息
客户端配置如下:
服务器端配置:
Reproduction
sing-box 使用systemctl start sing-box 启动,该问题会不定期发生,目前观察到1.8.6 - 1.8.10 的版本都发生了该问题。 长则2天,短则20mins,会出现类似的情况。
Logs
客户端log 太多有删减。
服务器端debug 信息如下:
服务器端会看到debug 卡在DEBUG[0080] 非常久,即使客户端显示的正常发包,服务器端也没有看到收包。当服务器debug 信息从DEBUG[0080] 跳到DEBUG[0206] sing-box 恢复正常。(服务器是完整抓包,未删减)
Supporter
Integrity requirements