Yesterday morning, the test report said that there was no way to draw the table properly, I did the following to successfully troubleshoot the problem, and resolved the potential problems that may occur later.
Record the process of solving the problem.
The first step, check the server log, to troubleshoot the intermediate process files are not generated.
docker logs -f container_id
The second step is to see if the program that called the makefile is working correctly and shows that it is working.
The third step is to view the resulting folder usage and find that the capacity is fully occupied.
Fourth step, delete the insignificant large files
- du -sh * 查看当天目录下的文件的大小- find ./dirname/ -ctime +10 删除较大文件夹10天前的内容
Fifth step, in order to prevent the subsequent increase in the file due to lack of space
设定定时任务清理文件夹- 常见clear_files.sh脚本,内部是删除文件的shell脚本- sudo chmod+x clear_files.sh- crontab -e 创建定时任务,设定定时时间,一周清理一次文件夹
Troubleshoot file server full Troubleshooting Summary