centos7 ping localhost slow

hemouyang

New Member
Joined
Aug 13, 2019
Messages
2
Reaction score
0
Credits
0
When my machine was loaded with 10% CPU, 25% memory consumption and enough disk space, ping localhost found that the response time was 6ms, and it was also found that the IP time of other machines in the Intranet ping my machine was about 6ms.The Intranet network has determined that the environment is fine, and I have killed all the services that have been started (e.g. Mysql, redis), and found through traceroute that ping localhost is a local loop.The tcpdump catch tells you that the request is fast but the machine's reply is slow.Rebooting the network card does not work, but reboot will restore the machine to its original response speed of 0.04ms, which will slow down after a period of time.I suspect that the Linux kernel is slow in backpacking from network packets. How to locate and solve the problem?
 


dos2unix

Well-Known Member
Joined
May 3, 2019
Messages
1,011
Reaction score
689
Credits
5,101
What does netstat -en show?

localhost is ... well.. ummm... local. What do you mean by loop?

How are you "rebooting" the network card?
 
OP
H

hemouyang

New Member
Joined
Aug 13, 2019
Messages
2
Reaction score
0
Credits
0
What does netstat -en show?

localhost is ... well.. ummm... local. What do you mean by loop?

How are you "rebooting" the network card?
netstat -en show a little connection between 127.0.0.1 yes, i mean loop, rebooting network card is means systemctl restart network
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Staff online


Top