编辑:事实证明这是一个 Gitlab 问题,但我仍然没有解决方案。
\n\n我的两个 AWS EC2 实例出现了奇怪的情况。它们在操作系统、区域和实例类型(均为 t3.micro)方面完全相同,设置方式也相同(但是,第一个是在几个月前设置的)。
\n\n两者都存在于 eu-central-1c 可用区中,并且都在同一个 git 存储库上运行。两者也都是最新的(CentOS 7.6.1810)。
\n\n较旧的服务器:
\n\n$ time git pull\nAlready up-to-date.\n\nreal 0m0.306s\nuser 0m0.034s\nsys 0m0.016s\nRun Code Online (Sandbox Code Playgroud)\n\n较新的服务器:
\n\n$ time git pull\nAlready up-to-date.\n\nreal 2m7.547s\nuser 0m0.026s\nsys 0m0.024s\nRun Code Online (Sandbox Code Playgroud)\n\n它也始终需要大约 2 分 7 秒。
\n\n还:
\n\n较旧的服务器:
\n\n--2019-04-09 10:52:03-- https://speed.hetzner.de/1GB.bin\nResolving speed.hetzner.de (speed.hetzner.de)... 88.198.248.254, 2a01:4f8:0:59ed::2\nConnecting to speed.hetzner.de (speed.hetzner.de)|88.198.248.254|:443... connected.\nHTTP request sent, awaiting response... 200 OK\nLength: 1048576000 (1000M) [application/octet-stream]\nSaving to: \xe2\x80\x981GB.bin\xe2\x80\x99\n\n100%[===============================================================>] 1,048,576,000 121MB/s in 6.5s \n\n2019-04-09 10:52:10 (154 MB/s) - …Run Code Online (Sandbox Code Playgroud)