Skip to content

Instantly share code, notes, and snippets.

@tqyq
Created November 30, 2015 02:26
Show Gist options
  • Save tqyq/36080f3d9efad8c9332a to your computer and use it in GitHub Desktop.
Save tqyq/36080f3d9efad8c9332a to your computer and use it in GitHub Desktop.
linux find lost disk space
In my case the df -h and du -sh mismatched by about 50% of the hard disk size.
This was caused by nginx keeping large log files in memory which had been deleted from disk.
The situation was then resolved by restarting nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment