Lyte's Blog

Bad code, bad humour and bad hair.

Check Your ~/.xsession-errors File

Recently my backup drive started filling up really quickly

1
2
3
4
5
6
7
8
9
10
11
12
13
14
1.4M 2011-01-03_033006/home/xxxx/.xsession-errors
1.4M 2011-01-04_033006/home/xxxx/.xsession-errors
1.5M 2011-01-05_033006/home/xxxx/.xsession-errors
 16K 2011-01-06_033005/home/xxxx/.xsession-errors
8.0K 2011-01-07_072908/home/xxxx/.xsession-errors
 72K 2011-01-08_094527/home/xxxx/.xsession-errors
228M 2011-01-09_033006/home/xxxx/.xsession-errors
3.4G 2011-01-10_213703/home/xxxx/.xsession-errors
6.2G 2011-01-11_033006/home/xxxx/.xsession-errors
10.4G 2011-01-12_033006/home/xxxx/.xsession-errors
12.3G 2011-01-13_033006/home/xxxx/.xsession-errors
15.1G 2011-01-14_033006/home/xxxx/.xsession-errors
...
27.5G 2011-01-21_033005/home/xxxx/.xsession-errors

… you get the point.

Anyway because I’m storing every file that’s modified during the day again and again every night, my backups were growing by at minimum the size of the .xsession-errors log, which is suddenly HUGE.

I should probably look in to why that file is suddenly growing ultra quickly, but for now I think I’ll just exclude it from my backup.

Comments