Disk Full
I am using Ubuntu 11.10 and my disk usage analyzer says that 441.4 GB out of an available 467.9 GB is being used. But the room directory only shows 18.4 GB with 100% usage. Typing df at the / directory shows
Quote:
I typed Code:
sudo find / -type f -size +1000000k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }' Quote:
Peter. |
there are no files but disk space is still used? same problem here on my mint/ubuntu install. Have tried rebootin? that solves problem here.
|
Quote:
Thanks again, Peter. |
I was wondering that too.
|
Yupes there is way...
Actually, your apache server was holding that file even though you deleted it. That is why, you were seeing 100%usage still after deletion. If you had restarted ONLY apache process, you would have observed same results as if you had rebooted :) Also, to avoid such issue in future, I will recommend you to rotate logs and zip them. |
The problem is even though you deleted the file, the reference to it was kept open because apache was still writing to it. Rebooting the computer obviously frees up that reference to give you the space, but you probably could have just restarted Apache and accomplished the same thing.
Edit: too slow... |
All times are GMT -5. The time now is 05:43 AM. |