All Products
Document Center

:Use the ping command to test intermittent packet loss of the IP address of an ECS instance

Last Updated:Sep 21, 2020

Problem description

Use the ping command to check for intermittent packet loss in the IP address of the ECS instance, and the network of the ECS instance remains unstable.



Viruses in the system.



  1. Ping the external server with packet loss, but the latency is not high. Check that the bandwidth does not reach the peak.

  2. Log on to the ECS instance and run the following command to view all processes.

    pstree  -a

    A similar output is displayed.

  1. A process named after 10 characters (randomly generated) is found. After the kill command is used to end the process, a new process named after 10 characters is generated. This virus frequently sends packets, network traffic usage.

  2. After confirming that the non-service process is normal, initialize the system and reconfigure the system.


Application scope

  • Elastic Compute Service (ECS)