On Fri, 23 Sep 2011 19:24:37 +0200, Martin Steigerwald wrote: > Am Donnerstag, 22. September 2011 schrieb Camaleón: >> The above experience I posted it happened on a VM I have to run testing >> for well... "testing" purposes. I wanted to try something (don't >> remember exactly what, either "hibernation" or "suspension") and >> something went wrong so one of the logs was being flooded with errors. >> The experiment (suspension or hibernation) did not succeed and after a >> hard reset, once a I logged I received a message popup stating that >> fact, then issued "df - h" to check, went to /var/log and saw the big >> file. I deleted and all were happy again. > > /var is used for other stuff except logs which might be relevant to > important operations on the machine, so when you want to drive it to the > maximum, I suggest separating /var/log as well. And possibly /tmp.
(...) I usually haven't had any problem with /var/log and when I had such problem then what worried me is what happened to make /var/log increased its size. This is from my VM: root@debian:~# du -hs /var/log 5,3M /var/log But I may be experiencing another size problem elsewhere: root@debian:~# du -hs /var 988M /var So I should make a little clean. Let's see what is reducing my /var partition: root@debian:~# du -h /var | sort -hr 988M /var 677M /var/cache 655M /var/cache/apt 625M /var/cache/apt/archives 298M /var/lib 117M /var/lib/apt-xapian-index 116M /var/lib/apt-xapian-index/index.1 63M /var/lib/dpkg 56M /var/lib/dpkg/info 56M /var/lib/apt/lists 56M /var/lib/apt 42M /var/lib/gconf/defaults 42M /var/lib/gconf (...) Ah, wow... apt archives. Let's clean them: root@debian:~# apt-get clean root@debian:~# du -h /var | sort -hr 364M /var 298M /var/lib 117M /var/lib/apt-xapian-index 116M /var/lib/apt-xapian-index/index.1 63M /var/lib/dpkg 56M /var/lib/dpkg/info 56M /var/lib/apt/lists 56M /var/lib/apt 53M /var/cache 42M /var/lib/gconf/defaults 42M /var/lib/gconf (...) Much better :-) Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.09.24.11.20...@gmail.com