The disk in the docker/ var/lib/docker/ directory takes up too much, but you can't find out which file it is.

now the disk space of the production server is full. After passing df, you can find the following figure:

clipboard.png

/var/lib/docker/
var/lib/dockerdu -sh * :

clipboard.png

found that all add up to only 20 G, I don"t know what"s going on?

in addition: I am glad to find an 11G log file in container, which can be recycled (deceptive former operation and maintenance staff).

Mar.13,2021

finally found the answer, that is, a user started some processes before, but then someone used root to delete the user directly, and the process is still there, so the disk has been occupied all the time.
reference article: https://www.cnblogs.com/paul8.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3869f-2b65c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3869f-2b65c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?