小编Der*_*ner的帖子

CentOS VirtualBox对http请求的延迟时间为5秒

我在我的OSX 10.8.2机器上运行VirtualBox 4.2.1中的centos 6.3,并遇到了一个我不理解的延迟问题.基本上,每个到任何地方的http请求都有额外的5000毫秒延迟.Ping没有额外的延迟.

延迟问题的屏幕截图

[vagrant@localhost ~]$ curl -o /dev/null https://google.com -w ""
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
110   220  110   220    0     0     42      0  0:00:05  0:00:05 --:--:--  7586
[vagrant@localhost ~]$ curl -o /dev/null https://google.com -w ""
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
110   220  110   220    0     0     42      0  0:00:05  0:00:05 --:--:--  7586 …
Run Code Online (Sandbox Code Playgroud)

virtualbox latency centos http vagrant

10
推荐指数
1
解决办法
2984
查看次数

标签 统计

centos ×1

http ×1

latency ×1

vagrant ×1

virtualbox ×1