2012-10-05 4 views
10

私はOSX 10.8.2マシン上でVirtualBox 4.2.1の中でcentos 6.3を実行しており、私が理解していない待ち時間の問題が発生しました。基本的に、どこへのhttpリクエストも、さらに5000msの遅延があります。 Pingには追加の遅延はありません。レコードのCentOS VirtualBox 5秒の待ち時間httpリクエスト

screenshot of latency issue

[[email protected] ~]$ 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 
[[email protected] ~]$ 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 
[[email protected] ~]$ 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 --:--:-- 7857 
[[email protected] ~]$ ping google.com 
PING google.com (74.125.224.66) 56(84) bytes of data. 
64 bytes from nuq04s07-in-f2.1e100.net (74.125.224.66): icmp_seq=1 ttl=63 time=7.64 ms 
64 bytes from nuq04s07-in-f2.1e100.net (74.125.224.66): icmp_seq=2 ttl=63 time=6.26 ms 
64 bytes from nuq04s07-in-f2.1e100.net (74.125.224.66): icmp_seq=3 ttl=63 time=8.69 ms 
64 bytes from nuq04s07-in-f2.1e100.net (74.125.224.66): icmp_seq=4 ttl=63 time=7.89 ms 
64 bytes from nuq04s07-in-f2.1e100.net (74.125.224.66): icmp_seq=5 ttl=63 time=5.99 ms 
64 bytes from nuq04s07-in-f2.1e100.net (74.125.224.66): icmp_seq=6 ttl=63 time=8.64 ms 

、私は問題は発生しません同じVirtualBoxの/ OSX環境でのUbuntu 12.04.1仮想マシンを持っています。

screenshot of not latency issue

答えて

5

[OK]を、それは問題はDNSの問題でしたが判明しました。

CentOS VirtualBoxは、基本的に10.0.2.3 DNSサーバーを使用するように構成されていましたが、内部的にはネットワーク上のものと競合する可能性があります。

いずれの場合でも、別のDNSサーバーを使用して問題を解決しました。

関連する問題