2012-10-05 10 views
10

मैं अपने ओएसएक्स 10.8.2 मशीन पर वर्चुअलबॉक्स 4.2.1 के अंदर केंद्र 6.3 चला रहा हूं, और मुझे एक विलंबता समस्या का सामना करना पड़ा है जिसे मैं समझ नहीं पा रहा हूं। असल में, कहीं भी हर http अनुरोध में अतिरिक्त 5000ms देरी होती है। पिंग में कोई अतिरिक्त देरी नहीं है।httpOS पर CentOS वर्चुअलबॉक्स 5 दूसरी विलंबता

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

ठीक है, यह पता चला है इस मुद्दे को एक DNS मुद्दा था।

मूल रूप से CentOS वर्चुअलबॉक्स को 10.0.2.3 DNS सर्वर का उपयोग करने के लिए कॉन्फ़िगर किया गया था जो स्वयं के लिए आंतरिक था, लेकिन शायद हमारे नेटवर्क पर कुछ के साथ संघर्ष हो सकता था।

किसी भी मामले में, एक अलग DNS सर्वर का उपयोग करने से समस्या हल हो गई।