: This article mainly describes how to analyze faults when the Web server disk is full. if you are interested in the PHP Tutorial, refer to it. Problems:
I received an alert Today. the disk of an online server is full, but I used du-sh/log/* to check the disk and found that the file size is far smaller than the disk space, I don't know how to solve this problem!
Solution:
In fact, it is far from enough to simply delete log logs, because the corresponding service is still running. Generally, when the service is still running, files cannot be deleted, so the solution is to stop the related services and then delete the files. in this case, it will be OK.
Summary:
When this problem occurs, it still seems a little impatient, because after all, the alarm has been triggered, so the next time you encounter a similar problem, you should calm down first, find the relevant information carefully!
The above introduces the fault analysis after the Web server disk is found to be full at work, including some content, hope to be helpful to friends who are interested in the PHP Tutorial.