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

下载间歇性中断 #11

Open
RyoLee opened this issue Jun 29, 2021 · 4 comments
Open

下载间歇性中断 #11

RyoLee opened this issue Jun 29, 2021 · 4 comments

Comments

@RyoLee
Copy link

RyoLee commented Jun 29, 2021

问题表现:
下载间歇性速度归0,期间RPC无响应,观察上游路由流统确认确实存在流量异常波动
image
image

环境信息:
k3s(docker部署),存储使用nfs v4(10G内网互联,读写测试无异常)

~#docker  version
Version:  0.1.0
RuntimeName:  containerd
RuntimeVersion:  v1.4.4-k3s1
RuntimeApiVersion:  v1alpha2

注入环境变量DISK_CACHE=256M
k3s上未配置CPU/内存使用限制
CPU型号为E5-2689,内存为ECC型号

Aria2-Pro版本:
p3terx/aria2-pro latest镜像(2021/6/29)

其他补充:
似乎下载速度高于某个值之后就会有较高概率出现这个问题,下载非常冷门的p2p资源或者对方服务器有较大限速的时候,则基本没见过

@P3TERX
Copy link
Owner

P3TERX commented Sep 13, 2021

确实有这样的问题,初步来看应该是性能不足导致假死,可能与 Aria2 只能使用 CPU 的单核心有关。

@CCCAUCHY
Copy link

CCCAUCHY commented Dec 9, 2021

我也有类似问题,环境:VM.Standard.A1.Flex,Oracle Linux 8,Oracle存储桶
当aria2使用s3fs挂载的目录时,会出现间歇性端口堵塞,堵塞期间用dd命令测试对象存储,得到写入速度40MB/s,能正常访问对象存储。但用本地磁盘(sda)的目录不会出现这种情况,非常流畅。

@RyoLee
Copy link
Author

RyoLee commented Dec 18, 2021

似乎和执行缓存落盘有关,容器内执行
watch -n 1 sync
高速下载时抖动出现明显放缓,速度图上也没有出现过冲到几百MB/s的尖刺了(但是抖动仍然存在)

@RyoLee
Copy link
Author

RyoLee commented Dec 18, 2021

附上对比图,测试时配置DISK_CACHE=0
最大的尖刺后开始执行watch -n 1 sync
对比0
对比1
图1尖刺对应图2中间4次掉速的最后一次

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

3 participants