Troubleshoot file server full Troubleshooting Summary

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.