The container resource statistics enhancement feature developed by Alibaba Cloud for Alibaba Cloud Linux 3 may affect the statistical logic of the operating system for load. This topic describes the solution to this issue.

Symptoms

When you run the top command on the Alibaba Cloud Linux 3 operating system that has no load, the command output shows that the value of load average is always greater than 1.

Causes

Due to the statistical issues of the container resource statistics enhancement feature, errors occur in the statistical logic of system load. As a result, the value of the system average load (load averages) is always greater than 1 when the operating system has no load. This flaw only causes errors on the statistical logic of system load. The system load does not increase and the features of the system are not affected.

Solutions

  1. Connect to the Elastic Compute Service (ECS) instance on which the issue occurs.
    For more information about how to connect to an instance, see Connection methods. This solution is applicable to the following image and kernel version:
    • Public image: Alibaba Cloud Linux 3.2104 64-bit
    • Kernel version: kernel-5.10.60-9.al8
  2. Run the following command to disable the container resource statistics enhancement feature developed by Alibaba Cloud.
    After you disable the load statistics of the container resource statistics enhancement feature, the load statistics of the system are properly displayed and existing features of the system are not affected.
    echo 0 > /proc/async_load_calc