从前一段时间开始,每当我用maven下载一个大文件时,都会花费很长时间。我也尝试过,wget
但仍然遇到同样的问题。达到99%后会冻结10分钟或更长时间:
$ wget http://download.scala-ide.org/sdk/e38/scala210/stable/site/plugins/org.scala-ide.scala.compiler_2.10.4.v20140209-180020-VFINAL-b66a39653b.jar
--2016-05-26 10:46:24-- http://download.scala-ide.org/sdk/e38/scala210/stable/site/plugins/org.scala-ide.scala.compiler_2.10.4.v20140209-180020-VFINAL-b66a39653b.jar
Resolving download.scala-ide.org (download.scala-ide.org)... 128.179.67.43
Connecting to download.scala-ide.org (download.scala-ide.org)|128.179.67.43|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://downloads.typesafe.com/scalaide/sdk/e38/scala210/stable/site/plugins/org.scala-ide.scala.compiler_2.10.4.v20140209-180020-VFINAL-b66a39653b.jar [following]
--2016-05-26 10:46:24-- http://downloads.typesafe.com/scalaide/sdk/e38/scala210/stable/site/plugins/org.scala-ide.scala.compiler_2.10.4.v20140209-180020-VFINAL-b66a39653b.jar
Resolving downloads.typesafe.com (downloads.typesafe.com)... 52.85.246.199, 52.85.246.219, 52.85.246.38, ...
Connecting to downloads.typesafe.com (downloads.typesafe.com)|52.85.246.199|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18127195 (17M) [application/java-archive]
Saving to: ‘org.scala-ide.scala.compiler_2.10.4.v20140209-180020-VFINAL-b66a39653b.jar.1’
99% [===========================================================================================================================================================> ] 18,127,056 --.-K/s eta 0s
99% [===========================================================================================================================================================> ] 18,127,056 --.-K/s eta 0s
99% [===========================================================================================================================================================> ] 18,127,056 --.-K/s eta 0s
99% [===========================================================================================================================================================> ] 18,127,056 --.-K/s eta 0s
99% [===========================================================================================================================================================> ] 18,127,056 --.-K/s eta 0s
99% [===========================================================================================================================================================> ] 18,127,056 --.-K/s eta 0s
99% [===========================================================================================================================================================> ] 18,127,056 --.-K/s eta 0s
如果我连接到另一台机器ssh
并尝试同样的操作,它工作正常,所以我的系统一定有问题。我该如何修复或调试这个问题?我尝试重新启动,但问题仍然存在。
我有 Ubuntu 14.04
$ uname -a
Linux hudect-PC 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:37:48 UTC 2015 i686 i686 i686 GNU/Linux
这不是空间或索引节点问题:
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda6 355698604 199482588 138124448 60% /
和
$ df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda6 22601728 1604814 20996914 8% /