0

This question already has an answer here:

My disk space is rapidly getting eaten up and I don't know why.

I was using localhost and it was taking a long time to load so I checked the properties in the folder and I had 2GB left out of 125GB on my SSD.

What is causing this error and how do I fix it?

marked as duplicate by Lekensteyn, Braiam, Aditya, Eliah Kagan, Radu Rădeanu Jan 12 '14 at 0:02

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    Please open a Terminal window (Ctrl+Alt+T) and run df -h. That will clarify what volumes you have and how much total, free, and used space is on each. This is a reasonable first step toward figuring out exactly where (and what kinds of files) the disk space increase is happening. That should make it possible to determine what diagnostic step(s) to do next, or maybe even lead directly to a solution. After running that command, please select all the text in the Terminal, do Edit > Copy, edit your question, paste it in, and format it as "code" by selecting it and pressing Ctrl+K. Thanks! – Eliah Kagan Jan 11 '14 at 13:33
1

This is like asking "Why it doesnt work" without giving any further information.

I guess that this might be caused by log files left out without clearing for long. If the SSD is your primary disk check the size of the /var/log folder.

Also run sudo apt-get autoclean it will clear out any unnecessary packages

  • it is 120GB Should I delete the contents? I don't know how it would have gotten so big in just short time, installed Ubuntu yesterday :S --I already ran autoclean – Billy_2lgit_2qt Jan 11 '14 at 13:31
  • @Billy_2lgit_2qt using dash open the log file viewer and check if theres anything spamming there. – user36976 Jan 11 '14 at 13:32
  • I found lots of spam from the apache2 error.log /var/log/apache2 – Billy_2lgit_2qt Jan 11 '14 at 13:33
  • @Billy_2lgit_2qt The contents of that folder are quite important but wht you can delete are the rotated log files aka the .gz files – user36976 Jan 11 '14 at 13:33
  • I have an error log file 120GB in size :L – Billy_2lgit_2qt Jan 11 '14 at 13:35

Not the answer you're looking for? Browse other questions tagged or ask your own question.