linux disk is full, prompt "No space left on devic" solution

This morning want to create a configuration file in the vhost conf under nginx, has prompted "No space left on devic" Error!

not enough space! not enough space! not enough space!

I remember good yesterday, open the Control Panel to see the disk really found a 100%.

Well, honestly check it.

Since the beginning of the investigation from the root directory.

df -h

Use the command du -sh * directory to see which big space, looking down the road all the way from the largest folder, has been found so far the biggest folder or file.

Then rm -rf command to delete.

Operation again. OK!

ps: find the main problem is because of the use of distributed task framework Elastic-Job. Due to irrational log settings caused.

Published 127 original articles · won praise 132 · Views 3.66 million +

Guess you like

Origin blog.csdn.net/m290345792/article/details/90438155