How to solve the high io usage and running blockage? The solution to the running blockage caused by high io usage in linux system

1. In the pagoda, check the server load is 100%, while the cpu and memory usage are normal

Enter the top command to view the average load:

The load of viewing results is really high;

2. Then check the io usage

Use the iotop tool, install: yum install iotop (run command: iotop)

If it cannot be installed because the io load is too high,

Install pidstat: yum install sysstat (run command: pidstat -d)

3. According to the displayed results, it is found that mysql and php applications read and write frequently;

Perform performance adjustments on mysql and php in the pagoda

4. After adjustment, you may need to wait for a while for the load to recover

After recovery, you can install the iotop tool for real-time monitoring:

Check back to normal

Guess you like

Origin blog.csdn.net/evening__breeze/article/details/128687336