Hi,
This could be an open-file-descriptor issue. If a file is deleted or moved while it is being accessed by another process, the space it takes up will not reported as free by df unless/until the process which is using the file exits. However the file will not be found by du, and so you get a discrepancy where df reports greater usage than you can explain by running du.
A reboot may be the quickest way to rectify this providing you can bring down the server.
Alternatively, you can use lsof to search for open but deleted files
Code:
cd /var
sudo lsof -s | grep DEL | sort -rnk 7,7
For a 17GB diff, there are likely a few very large files that should stand out. The 2nd column shows the process id using the file -- killing the process will also release the space.
Bookmarks