• Home
  • About

Overbenny's Blog

Von Computer über Origami und Glaube zu Sinnbefreitem

Feeds:
Posts
Comments
« Hardware review I
Unreliable SSDs »

System cleanup

31. March 2011 by overbenny

Tonight was system cleanup day. Baobob showed me where are the gigabytes hide. The home directory got rid of huge, old VCS checkouts of various projects. Then it was time to look at the system directories. I cleaned my apt cache

sudo apt-get clean

and the cache from pbuilder. Then I found something that lead to this blog post: /var/log consumed 3.8 GB. The biggest files were

1.8 GB /var/log/kern.log
1.8 GB /var/log/syslog
4.3 MB /var/log/dpkg.log
1.4 MB /var/log/kern.log.1

About these ads

Rate this:

Like this:

Like Loading...

Posted in Planet Debian, Planet Ubuntu, Ubuntu, verschiedenes | Tagged cleanup, log | 9 Comments

9 Responses

  1. on 1. April 2011 at 0:17 tmy

    Is logrotate installed?


    • on 1. April 2011 at 0:20 overbenny

      Yes.


      • on 1. April 2011 at 9:42 Eduard

        And is anacron installed, or is the system running overnight?


      • on 1. April 2011 at 10:46 overbenny

        anacron is installed. The system runs sometimes overnight.


  2. on 1. April 2011 at 1:27 javabean

    how much did you remove from all over your vcs checkout’s and apt-get “Cache”?


    • on 1. April 2011 at 10:45 overbenny

      I freed around 10 gigabytes.


  3. on 1. April 2011 at 1:41 Nelson

    I think that pbuilder’s –autocleanaptcache option is already known to you, right?


    • on 1. April 2011 at 10:51 overbenny

      I use following command, because I have multiple pbuilder instances:

      sudo rm -f /var/cache/pbuilder/*-amd64/aptcache/* /var/cache/pbuilder/*-amd64/result/*


  4. on 1. April 2011 at 20:25 patrick domack

    Sounds like logrotate is broken, it should rotate weekly and delete after a month, unless you adjust it.

    Or

    You have something spamming a lot of stuff into that log file, probably important if its doing it that much.



Comments are closed.

  • Archives

    • November 2012 (1)
    • April 2012 (1)
    • March 2011 (3)
    • January 2011 (5)
    • December 2010 (1)
    • November 2010 (1)
    • October 2010 (1)
    • August 2010 (2)
    • July 2010 (1)
    • May 2010 (1)
    • April 2010 (2)
    • March 2010 (8)
    • January 2010 (2)
    • December 2009 (3)
    • September 2009 (3)
    • August 2009 (2)
    • July 2009 (1)
    • April 2009 (2)
    • March 2009 (1)
    • December 2008 (1)
    • November 2008 (1)
    • September 2008 (2)
    • June 2008 (1)
    • May 2008 (4)
    • April 2008 (2)
    • March 2008 (6)
  • Categories

    • Blog (1)
    • freie Software (33)
      • dvdbackup (1)
      • HTML Validator (1)
      • libkibi (5)
      • Ubuntu (21)
    • Glaube (1)
    • Origami (4)
    • Planet Debian (18)
    • Planet Ubuntu (34)
    • Sinnbefreites (3)
    • Studium (1)
    • Tiefsinniges (3)
    • Urlaub (1)
    • verschiedenes (7)
  • Pages

    • About

Blog at WordPress.com.

Theme: MistyLook by WPThemes.


Follow

Get every new post delivered to your Inbox.

Powered by WordPress.com
%d bloggers like this: