I am seeing a big constant increase in the space amount taken in the /home
directory
df -h
says:
Filesystem Size Used Avail Use% Mounted on
/dev/md2 127G 52G 70G 43% /home
However, once I am in the /home
directory, du -hs * | sort -h
indicates the sum of the directories is about 20G
Therefore there is 30G of data I can't identify the origin of.
What should I look for to identify such a discrepancy between what df -h
says and the actual content of the /home
directory?
Edit: restarting nginx fixed the problem after using lsof | grep "/home" | grep deleted
to identify what process was still using deleted files in memory