Wednesday, January 27, 2010

Today I discovered that my $HOME was nearly full. My machine has only moderate space for the encrypted /home partition, but there were almost 2GB free until a few days ago, so I decided to look where the space went.

It was easy: ~/.xsession-errors was over 1,5GB. I looked who was wanting to tell me lots of important stuff and found out that about every KDE4 program produced several debug lines, almost every second.Since I doubt that anybody will ever want to look at 1,5GB logfiles, I just decided to redirect it to /dev/null in /usr/bin/startkde. Now only my submitrequest number 30607 needs to be accepted into KDE:KDE4:Factory:Desktop, so that everyone benefits from this solution.

Note: it took 15 days for the logfile to get that big, but to be honest: I don't want to reboot every two weeks, only to keep KDE4 from crapping my home directory.Second Note: If there had been any significant updates in FACTORY in the last two months, I would probably not even have noticed the problem, but there were none ;)