System Load
The system load indicates the current CPU workload, which measures the average number of threads in the running queue during a specific time interval. If the load is too high, the server cannot process requests and operations, or even breaks down.
- Use an SSH tool such as Xshell to log in to the server where the video stream cloud phone is deployed as the cloud phone O&M user (for example, root).
- Switch to the root user.
su - root
- Run the following command to query the system load:
uptime
The command output is as follows:
19:49:12 up 25 days, 5:04, 9 users, load average: 8.17, 8.16, 8.07
Parameters in the command output are described as follows:
- 05:21:49: current time
- 9 days, 39 min: running duration of the system
- 17 users: number of current online users
- load average: 5.90, 6.02, 5.82: average load, that is, the system load in the last 1 minute, 5 minutes, and 15 minutes respectively
- If the number of active processes of each CPU core is less than or equal to 0.7 times the average load, the system load is within the secure range.
- If the number of active processes of each CPU core is less than three times the average load, the system load is not very heavy.
- If the number of active processes of each CPU core exceeds five times the average load, the system load is heavy. In this case, the script execution is slow.
Generally, the system load in the last 1 minute (load1) is a temporary phenomenon. The system load in the last 15 minutes (load15) is a continuous phenomenon. If load15 is high and load1 is low, the situation is improved. Otherwise, the situation may deteriorate.
If the load is too high, the hardware or software may be faulty. If the hardware is faulty, the server performance is poor. If the software is faulty, some threads may be occupied for a long time or a large amount of memory is occupied continuously. In this case, contact Huawei technical support.