程序员 - curl、traceroute等操作总是15秒左右才有返回
淡淡烟草味
淡淡烟草味 2017-04-25 09:01:14
0
1
919

在CentOS服务器上面:

1、curl http://xxxx.xxx
2、traceroute yyy.yyy

以上操作大多数情况下,需要15秒才有返回,即使访问的是本机,这是什么情况?
域名解析的问题已经排除。

淡淡烟草味
淡淡烟草味

reply all(1)
黄舟

The curl here is http, and the traceroute is icmp. From the protocol point of view, they are independent protocols. Since your domain name resolution problem has been eliminated, you can be more suspicious of whether there is packet loss and slow network connectivity in the network connectivity itself. Posting a detailed execution process log will make it easier to analyze, and also explain your server's network topology and local network conditions.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template