-
-
Notifications
You must be signed in to change notification settings - Fork 322
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
Alpine Linux 的 TCP 连接数溢出 #110
Comments
Alpine Linux 是哪个版本?贴一下下面几个命令的输出看看 ss --version
ss -t | wc -l
ss -u | wc -l
ps -ef | wc -l
ps -eLf | wc -l |
|
ServerStatus-Rust/client/src/status.rs Line 96 in 14ec5aa
统计完结果数要-1/-2, 看着应该是有的是溢出了,有的是ps 命令参数不兼容,先用参数 --disable-tupd 禁用掉吧
|
可能还有一个原因,就是我直接在alpine linux上无法运行 |
是的需要加入依赖,本质上是跑 ss,ps 命令, 然后取的结果 |
安装之后显示为: ServerStatus-Rust/client/src/status.rs Line 99 in 14ec5aa
第四个数字的原因应该是这一行在alpine中报错。因为alpine的ps指令不支持 |
跑一下这个,装上 apk add procps iproute2 coreutils |
Cool. Thanks. |
版本:最新 v1.5.7(之前版本也有此问题)
Alpine Linux 上的 Rust 客户端回报的 TCP/UDP 连线数为
4294967295
,怀疑是uint
溢出导致的。这一现象其实在 #18 (comment) 中也有显示:
\"tcp\":4294967295,
截图:
The text was updated successfully, but these errors were encountered: