2012-10-05 17 views
10

OS3 10.8.2 makinemde sanal kutu 4.2.1'in içerisindeki centos 6.3'i çalıştırıyorum ve anlayamadığım bir gecikme sorunuyla karşılaştım. Temel olarak, her http isteğinin herhangi bir ek 5000ms gecikme vardır. Ping'de gecikme yok. CentOS VirtualBox http istekleri üzerinde 5 saniye gecikme süresi

screenshot of latency issue

Kayıt için
[[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 

, ben sorunu yaşamaya değil, aynı VirtualBox/OSX ortamında bir ubuntu 12.04.1 sanal makine var. Tamam

screenshot of not latency issue

cevap

5

, bu sorunu DNS sorunu olduğunu ortaya çıktı.

Temel olarak, CentOS VirtualBox kendi başına dahili bir 10.0.2.3 DNS sunucusu kullanacak şekilde yapılandırıldı, ancak belki de ağımızdaki bir şeyle çakıştı.

Her durumda farklı bir DNS sunucusu kullanmak sorunu çözdü.