,

Updated at:

Packet loss diagnosis analyzes why the operating system kernel drops network packets and provides the corresponding solutions. Operating system kernel network packet loss occurs when packets are dropped at the kernel level while they are transmitted over the network. This topic describes how to run a packet loss diagnosis and interpret the diagnostic report.

Use cases

Packet loss diagnosis covers the following causes of operating system kernel network packet loss:

  • Incorrect system configurations — The diagnosis identifies the configuration parameters that you need to adjust.

  • iptables rules or instance drivers — The diagnosis prompts you to check the iptables configuration or the driver of the instance.

Limits

  • Region availability

    China (Hong Kong) and regions within the Chinese mainland

  • Supported operating systems

    Architecture

    Operating system

    x86 architecture

    Rocky Linux 9.5

    Rocky Linux 9.1

    Ubuntu 20.04

    Alibaba Cloud Linux 3 container-enhanced edition

    Rocky Linux 8.8

    Ubuntu 22.04

    Alibaba Cloud Linux 3 Pro

    Alibaba Cloud Linux 2/3

    CentOS 7.6 and later, or CentOS 8

    Anolis OS 7/8

    Ubuntu 24.04

    ARM architecture

    Alibaba Cloud Linux 3 Pro

    Alibaba Cloud Linux 3

Prerequisites

If you use a Resource Access Management (RAM) user, make sure that the Alibaba Cloud account has granted the RAM user the AliyunECSReadOnlyAccess and AliyunSysomFullAccess system policies.

Procedure

  1. Log on to the CloudMonitor 2.0 console and select the target workspace. In the left-side navigation pane, choose All Features.

  2. On the All Features page, click CloudLens for ECS.

  3. At the top of the page, click System Diagnosis (SysOM).

  4. Configure the diagnosis parameters:

    • Set Diagnostic Mode to Node Diagnosis.

    • Set Type of diagnosis to Network diagnosis.

    • Set Diagnostic Item to Packet Loss Diagnostics.

    • Enter the target Instance ID.

  5. Click Run Diagnosis.

  6. In the Diagnosis History section, click View Report.

Diagnostic report

The report that you open from the Diagnosis History section presents the results of the packet loss diagnosis in the following sections:

  • Basic Information

    The Basic Information section summarizes the diagnosis with key details, including the instance ID (which serves as the resource ID), diagnosis item, diagnostic report ID, and diagnosis start time.

  • Diagnostic conclusion

    Displays the conclusion of the diagnosis and describes the system status and the number of dropped packets in detail.

  • Diagnostic suggestions

    Provides suggestions based on the diagnosis results to reduce or eliminate this type of network packet loss.

  • Diagnostic details

    Displays the detailed data of the diagnosis and explains the meanings of the key fields.

    • Time: the time at which the network packet loss was collected.

    • Packet Information: the address information of the dropped packets, that is, the network five-tuple.

    • Packet Count: the number of dropped packets.

    • Packet Loss Reason: the cause of the packet loss.

    • Corrective Action: the recommended corrective action.