Comment 0 for bug 60448

Revision history for this message
mlaverdiere (mlaverdiere) wrote : .xsession_errors file grows out of control & saturates disk space

Hi,

I'm running Kubuntu Dapper, freshly dist-upgraded, on a Compaq Presario V2610CA laptop, with no particular esoteric configuration.

In the past 2 weeks, my disk space has been saturated **TWICE** (i.e. up to 100% occ. reported by the "df -h" command, with app. 10 MB available, just enough to be able to boot/login) by what seems an ever-groing .xsession-errors file in one user directory. i.e. /home/user). After a quick search on Google, I've found 2 similar reports (one concerning Dapper, the other OpenSuse):

http://www.nabble.com/X-error-log-t1364627.html

http://lists.opensuse.org/opensuse/2005-10/msg00044.html

However, I didn't find anything related to this problem on Launchpad...

It 's quite possible that something is going wrong with my system and is filling the .xsession-errors file with various reports. I did not have the chance to pinpoint what's going wrong since my only concern was to prevent my system from completely crashing. That's why I deleted the file without trying to look at its content (my system was saturated to a point that I could not receive one simple e-mail, Kmail complaining about the lack of disk space...). The only thing I know is that since 2 weeks, I use more frequently Skype and I have created a second user account for my wife to be able to receive her e-mails with Kmail and browse the Web with Konqueror a little bit. Nothing so complex or heavy...

Anyway, this report is not about what's going wrong with my system, but instead about the fact that an error-log file, like .xsession-errors, that is suppose to be useful to track problems, should not be the cause of a major critical problems like the lack of disk space! I don't know what would be a satifying solution, but in my case I've set up a script to errase this file in root and all user's directory at each hour, by putting an executable file with this content in /etc/cron.hourly:

rm /home/*/.xsession-errors*
rm /root/.xsession-errors*

Thanks for your attention.