Hi Friends,
Today morning I logged on to one of our servers (through ssh -X) to perform a routine maintenance. When I tried to open a GUI application, it failed to connect to the X server of the workstation. Eventually I ended up issuing the command
and shockingly it showed that / is 100% used. I checked / using
Code:
du --max-depth=1 -xh /
to check the sizes of the individual directories, which showed that only about 18% of the / is used and that confused me badly. There was no quick solutions when I googled around; but luckily I found the following link which nicely explained the issue I had:
http://www.walkernews.net/2007/07/13/df-and-du-command-show-different-used-disk-space/
All I did was found out the services responsible for those unreleased files (using lsof +L1) and restarted them. That is it. Now df reports only 18% of the disk is used and all my X things started working again, thanks to Walker.
I felt sharing it here for somebody who is having similar problem.
Cheers