QQtom

QQtom

博文(部分为摘录)

Check the Baota load status 100%

The Baota panel often has a load status of 100%.
The operating environment has a CPU with 2 cores, 1024 (MB) of memory, a Windows system, and other systems are also acceptable. Mine is an old desktop computer.
First, check the software store - already installed, see if there are any unnecessary software, used infrequently, or only special tools, delete such software to avoid affecting MySQL operation.
Next, remove unnecessary PHP, commonly used PHP 8.0, PHP 8.1. Choose one of these two, PHP 8.2, 8.3 can be skipped, some software does not support them, so it is not necessary.

Remaining reference: https://blog.csdn.net/wing_77/article/details/140402517
Terminal - Local server input

df -h

It can be seen that the /dev/vda1 directory has a total of 50G, 44G used, suspecting that large files are inside, as it is a mounted directory, unable to enter that directory, can only analyze the detailed content distribution in the root directory.

du -h --max-depth=1 /

It is found that the /www directory occupies the most space, enter that directory for further analysis, the disk is accurate to the www directory and a depth of one directory.

du -h --max-depth=1 /www/

Display all sub-files details and sizes, select the top 11.

ls -lahS | head -11

View the content of the located file.

Delete the file.

rm -rvf file name

Finally, compare, from 92% to 64%.

The homepage status is also back to normal.
————————————————

Copyright statement: This article is an original creation of the blogger, following the CC 4.0 BY-SA copyright agreement. When reprinting, please include the original source link and this statement.

Original link: https://blog.csdn.net/wing_77/article/details/140402517

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.