centos7 ping localhost slow

hemouyang

New Member
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

Member
What does netstat -en show?

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

How are you "rebooting" the network card?
 

hemouyang

New Member
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
 

Members online


Latest posts

Top