sjtug / mirror-requests

新镜像请求 & BUG 汇报
https://mirrors.sjtug.sjtu.edu.cn
49 stars 2 forks source link

一些文件下载一会之后卡住 #264

Closed felixonmars closed 1 year ago

felixonmars commented 2 years ago

最近有突然开始遇到这类问题。今天遇到,并且可以反复触发的文件是:

$ wget -O /dev/null https://mirror.sjtu.edu.cn/archlinux-cn/x86_64/linux-mainline-5.17rc5-1-x86_64.pkg.tar.zst
--2022-02-22 04:59:36--  https://mirror.sjtu.edu.cn/archlinux-cn/x86_64/linux-mainline-5.17rc5-1-x86_64.pkg.tar.zst
SSL_INIT
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving mirror.sjtu.edu.cn (mirror.sjtu.edu.cn)... 111.186.58.212, 2001:da8:8000:7100::322:a
Connecting to mirror.sjtu.edu.cn (mirror.sjtu.edu.cn)|111.186.58.212|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://mirrors.sjtug.sjtu.edu.cn/archlinux-cn/x86_64/linux-mainline-5.17rc5-1-x86_64.pkg.tar.zst [following]
--2022-02-22 04:59:36--  https://mirrors.sjtug.sjtu.edu.cn/archlinux-cn/x86_64/linux-mainline-5.17rc5-1-x86_64.pkg.tar.zst
SSL_INIT
Resolving mirrors.sjtug.sjtu.edu.cn (mirrors.sjtug.sjtu.edu.cn)... 202.120.58.155, 2001:da8:8000:6023::231
Connecting to mirrors.sjtug.sjtu.edu.cn (mirrors.sjtug.sjtu.edu.cn)|202.120.58.155|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 167440080 (160M) [application/zstd]
Saving to: ‘/dev/null’

/dev/null                           10%[=====>                                                        ]  16.44M  --.-KB/s    eta 1m 54s

(并不是之后再也没有进度,但是很久才会返回一点。与此同时另一些文件能一直保持满速,所以应当不是网络问题。)

skyzh commented 2 years ago

可能是到了盘的瓶颈,我们晚点分析一下监控。

skyzh commented 2 years ago
Connecting to alexchi-server.lan (alexchi-server.lan)|fdc2:f9b5:d94::c32|:1089... connected.
Proxy request sent, awaiting response... 200 OK
Length: 167440080 (160M) [application/zstd]
Saving to: ‘/dev/null’

/dev/null                           68%[===========================================>                     ] 109.10M  9.97MB/s    eta 7s     ^C

校内下载几乎没有问题(


看了下监控,服务器的 I/O 处于一个负载不算太高但也不算太低的状态。。。

archlinux-cn 现在存储在老的服务器上,老服务器的盘 I/O 瓶颈比较大。晚点可以考虑迁移到交大云的虚拟主机,应该可以改善这种情况(

abcfy2 commented 2 years ago

原来是这个问题,我也遇到了下载archlinux-cn资源的时候速度巨慢无比,然后超时退出

yay -Syu --noconfirm
:: 正在同步软件包数据库...
 core 已经是最新版本
 extra 已经是最新版本
 community 已经是最新版本
 multilib 已经是最新版本
 archlinuxcn 已经是最新版本
:: 正在进行全面系统更新...
警告:nvm:本地 (0.39.1-1) 比 community 的版本更新 (0.38.0-2)
正在解析依赖关系...
正在查找软件包冲突...

软件包 (1) dingtalk-bin-1.4.0.37-2

下载大小:      149.10 MiB
全部安装大小:  656.10 MiB
净更新大小:      1.11 MiB

:: 进行安装吗? [Y/n] 
:: 正在获取软件包......
dingtalk-bin-1.4.0.37-2-x86_64.pkg.tar.zst下载失败
错误:无法从 mirrors.sjtug.sjtu.edu.cn : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds 获取文件 'dingtalk-bin-1.4.0.37-2-x86_64.pkg.tar.zst'
错误:无法从 opentuna.cn : HTTP server doesn't seem to support byte ranges. Cannot resume. 获取文件 'dingtalk-bin-1.4.0.37-2-x86_64.pkg.tar.zst'
错误:无法从 mirrors.aliyun.com : HTTP server doesn't seem to support byte ranges. Cannot resume. 获取文件 'dingtalk-bin-1.4.0.37-2-x86_64.pkg.tar.zst'
错误:无法从 mirrors.cloud.tencent.com : HTTP server doesn't seem to support byte ranges. Cannot resume. 获取文件 'dingtalk-bin-1.4.0.37-2-x86_64.pkg.tar.zst'
错误:无法从 repo.huaweicloud.com : HTTP server doesn't seem to support byte ranges. Cannot resume. 获取文件 'dingtalk-bin-1.4.0.37-2-x86_64.pkg.tar.zst'
警告:无法获取某些文件
错误:无法提交处理 (下载数据库出错)
发生错误,没有软件包被更新。
 -> 安装软件库软件包时出错

这个有计划多长时间解决吗?

PhotonQuantum commented 1 year ago

现在应该没有这个问题了,archlinux-cn 已经在交大云虚拟主机上服务。由于 issue 时间久远先暂时关闭了,如果再次出现欢迎新开 issue。