centos7 ping localhost slow
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?
|
When you are seeing the delay, what is the output of these commands (after changing public IPs to XXX)
Code:
sudo iptables -vL |
Thoughts.
Not sure you can depend on ping. If you have any sort of services that were on the localhost then that could leave leftovers. I'd do a test to a localhost server instead or some file transfer maybe. Localhost inside of a nic can be quite different than normal traffic too. Guess it's possible that your loopback test is actually going outside of your nic and back still. |
Quote:
|
2 Attachment(s)
Quote:
Attachment 31117 Here are some images of commands |
Quote:
|
All times are GMT -5. The time now is 07:52 PM. |