[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2012-11-30 Thread Mechanical snail
Why was this marked invalid? According to comment #45, it's the desktop manager's responsibility to truncate .xsession-errors. If so, it's a kdm bug, since I still see the same problem under KDE. ** Changed in: kdebase (Ubuntu) Status: Invalid => New ** Summary changed: - .xsession_errors

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2011-10-27 Thread Aleksey Vorona
I have this bug with the freeRDP issue: http://sourceforge.net/tracker/index.php?func=detail&aid=3315749&group_id=278330&atid=1181674 Patched /etc/X11/Xsession to log errors to /dev/null. ** Bug watch added: SourceForge.net Tracker #3315749 http://sourceforge.net/support/tracker.php?aid=33157

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2011-09-20 Thread mlaverdiere
I'm a bit late, but anyway, happy 5th birthday bug report! (Last 2 recent messages show that this bug is still a major security issue...) -- You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to kdebase in Ubuntu. https://bugs.launchpad.net/bugs/6044

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2011-09-20 Thread Gabriel
I have this on a fresh install of 11.04, in about 5 days without rebooting, logging-out/in or suspending my .xsession-errors fills up to about 140 GB. I use this system for work so this is really annoying, rebooting or logging out/in is a hassle because I have to re-setup my environment (I can't au

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2011-07-18 Thread UnrealMiniMe
I just came across this bug report after finally tracking down my own disk space issues to .xsession-errors.old. The file had grown to over 13 GB! Obviously, most users are not affected by this bug, so it seems to be triggered by excessive error reporting somewhere else. In my case, the most com

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2011-04-27 Thread Martin Pitt
scm, as this bug has a much broader scope, I created bug 771661 for the "allow symlinks" part of this. Thanks! -- You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to kdebase in Ubuntu. https://bugs.launchpad.net/bugs/60448 Title: .xsession_errors

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2011-04-22 Thread scm
Attached is a patch to gdm-session-worker to at least allow .xsession- errors to be a symbolic link, so it can be manually moved elsewhere. ** Patch added: "don't overwrite symlinks as symlinks, instead overwrite their destination" https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/60448/+att

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2010-09-14 Thread mlaverdiere
Happy 4th birthday bug report! -- .xsession_errors file grows out of control & saturates disk space https://bugs.launchpad.net/bugs/60448 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubun

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2010-08-21 Thread Léa GRIS
/etc/X11/Xsession patch to disable error logging ** Patch added: "log xsession errors in /dev/null" https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/60448/+attachment/1508356/+files/Xsession.patch -- .xsession_errors file grows out of control & saturates disk space https://bugs.launchpad.

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2010-08-21 Thread mlaverdiere
Is there someone from the Ubuntu Security Team /Ubuntu Review Team listening to this report? This bug, as I've experienced it at first (I'm the initial reporter) and as it is experienced by other reporters here, can clearly crash down a system, so it's not just some ordinary "risk less" bug. I'v

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2010-08-21 Thread David Volm
Ive got ubuntu lucid and gnome, I don't log off, I'm running simple lampp server. This morning I woke up to find that I had 2GB space left because I had a massive 650GB log file in my hard drive. I deleted the file manually, but should I just disable logging until this is fixed? -- .xsession_erro

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2010-08-18 Thread AmenophisIII
this is still an annoying problem in lucid with gnome while running buggy/verbose software. the file needs to be truncated in realtime and should be disabled or put on a ramdisk for ssd users imho. this potentially breaks the users' hardware in the long run without anything being really broken (

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2010-08-08 Thread gjs
Stumbled upon this thread b/o system filling up to 100% slowly without clear reason. I second the last report by jason, similar issue, the .xsession-errors was huge, removed it. Amazing this issue still exists (or reoccurs) yet slowly but surely the filesytem fills up with a MB per 1-3 minutes.

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2010-01-15 Thread Jason
err:wave:wodPlayer_WriteMaxFrags Error in writing wavehdr. Reason: Input/output error It seems that this error is filling it up at a rate over 20 MB/sec while I type this. Thanks for the command, manu, very helpful. I just tried disabling the file per those instructions making a link to /dev/null

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2010-01-13 Thread manu
#47 Jason, try: tail --lines=20 ~/.xsession-errors If you don't experience any other problems with X windows, just disable it, see comment #41 -- .xsession_errors file grows out of control & saturates disk space https://bugs.launchpad.net/bugs/60448 You received this bug notification because y

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2010-01-13 Thread Jason
I can't find any text editor that can open a > 1 GB text file so I have no idea what's causing it to expand that much, clearly the only way to solve the expanding .xsession_errors is to cap it at a certain file size. Having an option to disable it entirely would be nice too. The file grows to 10 G

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2009-12-03 Thread apinunt
It appears that the .xsession-errors file creates anew after each reboot, moving the previous content to .xsession-errors.old and an enormous size file can be eliminated by rebooting twice, but what is causing the file to grow needs to be determined and fixed otherwise the problem recurs. I think m

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2009-10-22 Thread Martin Pitt
It's gdm/kdm/other DM open this log file and keep it open; so they'd need to watch it and truncate it regularly. ** Package changed: xorg (Ubuntu) => gdm (Ubuntu) ** Changed in: gdm (Ubuntu) Importance: High => Low ** Changed in: gdm (Ubuntu) Status: In Progress => Triaged ** Changed

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2009-10-22 Thread mlaverdiere
Here's a suggestion (keeping in mind that I'm not a developer, programmer or anything alike - I'm just an "advanced user"): What about a cron job that would run a script a regular interval (let's say each hour), and delete any oldest content of the .xsession-errors file that exceeds any reasonable

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2009-10-22 Thread mlaverdiere
** Changed in: xorg (Ubuntu) Status: Fix Released => In Progress -- .xsession_errors file grows out of control & saturates disk space https://bugs.launchpad.net/bugs/60448 You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to kdebase in ubuntu.

Re: [Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2009-10-22 Thread Bárbara Jiménez
manu escribió: > Only tested in my computer, so use it at your own risk. Open a console > and write: > > cd ~ > rm -f .xsession-errors > ln -s /dev/null .xsession-errors Thank you, manu, I will try that. -- .xsession_errors file grows out of control & saturates disk space https://bugs.launchpad.

Re: [Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2009-10-22 Thread Martin Pitt
mlaverdiere [2009-10-22 11:08 -]: > I'm the original reporter for this bug, more than 3 years ago, on > Dapper. I don't want to criticize anyone, but it amazes me to see that > this bug is still causing problem on Karmic... It's a totally different root cause, though. Back then, the problem w

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2009-10-22 Thread manu
Only tested in my computer, so use it at your own risk. Open a console and write: cd ~ rm -f .xsession-errors ln -s /dev/null .xsession-errors Now .xsession-errors will always be zero size. If you ever need to check the errors or revert this, you do 'rm -f .xsession-errors" and it will be created

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2009-10-22 Thread mlaverdiere
I'm the original reporter for this bug, more than 3 years ago, on Dapper. I don't want to criticize anyone, but it amazes me to see that this bug is still causing problem on Karmic... Here's what I think: It's OK to point out that Babara's problem was caused by a buggy Chromium installation. B

Re: [Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2009-10-21 Thread Martin Pitt
Bárbara Jiménez [2009-10-21 16:46 -]: > It seems that I get a lot of errors related to chromium-browser: Thanks for testing. So this should be fixed in chromium then. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (w

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2009-10-21 Thread Bárbara Jiménez
Martin Pitt escribió: > Can you please copy it aside (copy it to ~/xsession-errors.old), > log out, back in, and check how big ~/.xsession-errors is? Did it get > appended on or emptied? > Looks like the file has been emptied: it was 90 KiB (in 4 hours) and the new one is 9,6 KiB. The content

Re: [Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2009-10-21 Thread Martin Pitt
Bárbara Jiménez [2009-10-21 12:52 -]: > Yes, it is GNOME. Why not? Because with GNOME ~/.xsession-errors is cleaned on every session startup. So either that's broken for you for some reason, or you just have run your session for a very long time, or there is some particular process which spews

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2009-10-21 Thread Bárbara Jiménez
Yes, it is GNOME. Why not? -- .xsession_errors file grows out of control & saturates disk space https://bugs.launchpad.net/bugs/60448 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.c

Re: [Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2009-10-21 Thread Martin Pitt
Bárbara Jiménez [2009-10-21 11:40 -]: > I don't think this is fixed at all: for me, .xsession-errors file > has turned into a 279GB monster! Karmic Koala, AMD64 Which desktop environment are you using? It's obviously not GNOME? Martin -- Martin Pitt| http://www.piwa

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2009-10-21 Thread Bárbara Jiménez
I don't think this is fixed at all: for me, .xsession-errors file has turned into a 279GB monster! Karmic Koala, AMD64 -- .xsession_errors file grows out of control & saturates disk space https://bugs.launchpad.net/bugs/60448 You received this bug notification because you are a member of Kubuntu

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2009-01-27 Thread Martin Pitt
I don't consider it a good idea to change this in dapper now. ** Changed in: xinit (Ubuntu Dapper) Assignee: Martin Pitt (pitti) => (unassigned) Status: Triaged => Won't Fix Target: dapper-updates => None -- .xsession_errors file grows out of control & saturates disk space htt

Re: [Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2008-04-21 Thread Martin Pitt
manu [2008-04-21 11:21 -]: > exec | /usr/bin/fifo "2048" "$ERRFILE" 2>&1 That would be very inefficient, for every newly logged line you need to entirely rewrite the file. That's a lot of I/O churn. -- .xsession_errors file grows out of control & saturates disk space https://bugs.launchpad.n

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2008-04-21 Thread manu
@Martin, Can't we add a filter before redirecting to the error file? Instead of: exec >>"$ERRFILE" 2>&1 we could have exec | /usr/bin/fifo "2048" "$ERRFILE" 2>&1 fifo is a simple program (a script or even C program) that reads from stdin and writes to an output file while the file size is unde

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2008-04-21 Thread krop
Since I'm not using KDE4 packages, what I notice may be irrelevant. I'll just mention Nepomuk being way too verbose when associated with Strigi for desktop search. If not properly set up, xsession-errors may be endlessly parsed. -- .xsession_errors file grows out of control & saturates disk spa

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2008-04-21 Thread Martin Pitt
Ah, thanks for clarifying. Indeed, there is nothing that could clean up ~/.xsession-errors while a session is running. Do you see a lot of recurring lines/patterns in your current file? One issue is that this file shouldn't grow so large in the first place. Sometimes programs go wild and spam the

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2008-04-21 Thread krop
@Martin : I'm not using the KDE4 packages. Just using the kdm-kde3 one as login manager. So, the "truncate ERRFILE" part is present in /etc/X11/Xsession. However, for what I understand, this script is only read once when users are opening their session. There is no control of .xsession-errors' s

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2008-04-21 Thread Martin Pitt
I just checked that the Xsession script code to truncate .xsession- errors is still existant in Hardy. Apparently the script is not used any more by KDE 4? Seems KDE4 needs to get its own fix for handing the ~/.xsession-errors file then? ** Also affects: kdebase (Ubuntu) Importance: Undecided

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2008-04-18 Thread krop
It's mostly kde4 apps messages, but the content is not very important IMO :-) -- .xsession_errors file grows out of control & saturates disk space https://bugs.launchpad.net/bugs/60448 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. --

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2008-04-18 Thread manu
@krop Is it growing again? What are the contents? If it is growing again over 0.5 MB, just reopen the bug. -- .xsession_errors file grows out of control & saturates disk space https://bugs.launchpad.net/bugs/60448 You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2008-04-18 Thread krop
I'm sorry, but is this bug supposed to be resolved ? I've just lost some of my applications settings because .xsession-errors got monstruously big (more than 4 Gb). I'm using Hardy Heron and kdm as a login manager (if this detail has an importance) -- .xsession_errors file grows out of control

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2007-11-27 Thread Kees Cook
** Changed in: xinit (Ubuntu Dapper) Status: Fix Committed => Triaged -- .xsession_errors file grows out of control & saturates disk space https://bugs.launchpad.net/bugs/60448 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu.

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2006-11-01 Thread manu
What other distributions do about this? I cannot believe that we are the only ones having this problem. -- .xsession_errors file grows out of control & saturates disk space https://launchpad.net/bugs/60448 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman

Re: [Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2006-10-31 Thread Matt Zimmerman
On Tue, Oct 31, 2006 at 07:05:15PM -, manu wrote: > Why not create a logrotate config file such as > /etc/logrotate.d/xsession_errors with the following configuration: > > "/home/*/.xsession_errors" > { > rotate 1 > size 500k > copytruncate > missingok > compress > } > > It will che

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2006-10-31 Thread manu
Why not create a logrotate config file such as /etc/logrotate.d/xsession_errors with the following configuration: "/home/*/.xsession_errors" { rotate 1 size 500k copytruncate missingok compress } It will check the file size daily and create one compressed copy whenever the file exceeds

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2006-10-26 Thread Martin Pitt
Hi Matt, I propose to fix https://launchpad.net/bugs/60448 for dapper. Impact: if an application goes wild and dumps large amounts of logging to ~/.xsession-errors, there is nothing to clean up this file and limit its size. Edgy fix: http://librarian.launchpad.net/4679751/xorg.60

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2006-10-26 Thread Martin Pitt
Debdiff for dapper-proposed ** Attachment added: "dapper debdiff" http://librarian.launchpad.net/4937364/xinit.60448.diff -- .xsession_errors file grows out of control & saturates disk space https://launchpad.net/bugs/60448 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://li

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2006-10-26 Thread Martin Pitt
Dapper ships that file in xinit. ** Changed in: xorg (Ubuntu Dapper) Sourcepackagename: xorg => xinit -- .xsession_errors file grows out of control & saturates disk space https://launchpad.net/bugs/60448 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2006-10-25 Thread Martin Pitt
** Changed in: xorg (Ubuntu Dapper) Target: None => dapper-updates -- .xsession_errors file grows out of control & saturates disk space https://launchpad.net/bugs/60448 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2006-10-05 Thread Martin Pitt
This is the debdiff applied to edgy, should also be suitable for Dapper. ** Attachment added: "edgy debdiff (also suitable for dapper)" http://librarian.launchpad.net/4679751/xorg.60448.debdiff -- .xsession_errors file grows out of control & saturates disk space https://launchpad.net/bugs/604

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2006-10-05 Thread Martin Pitt
xorg (1:7.1.1ubuntu2) edgy; urgency=low . * debian/local/Xsession: If ~/.xsession-errors is bigger than 0.5MiB, truncate it to the last 0.5MiB to avoid having it grow indefinitively. (This does not happen with gdm anyway since gdm cleans the file on login). Closes: LP#60448 **

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2006-09-27 Thread Matt Zimmerman
Pushing to final; this is easily corrected with an update after beta ** Changed in: xorg (Ubuntu) Target: ubuntu-6.10-beta => ubuntu-6.10 -- .xsession_errors file grows out of control & saturates disk space https://launchpad.net/bugs/60448 -- ubuntu-bugs mailing list ubuntu-bugs@lists.u

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2006-09-26 Thread Matt Zimmerman
The best we can reasonably do at present is to rotate the file on login, so that the information from the previous session is available for debugging, but the file won't grow out of control. Users who log out rarely should still be OK; a reboot from time to time is still necessary in order to appl

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2006-09-25 Thread mlaverdiere
I Just want to point out that this could not be enough to have this file reset only upon session logout/in. The problems of this file becoming huge and filling up all the disk space could still occur for users who, for whatever reason, never log out. Think of theses users (like me) who rely on h

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2006-09-25 Thread Martin Pitt
For the record, a short discussion in #ubuntu-devel revealed that there's no unanimous solution for this; Tollef had some proposals, let's wait a bit for the discussion on ubuntu-devel@ -- .xsession_errors file grows out of control & saturates disk space https://launchpad.net/bugs/60448 -- ubun

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2006-09-25 Thread Martin Pitt
Fix for beta, if possible. ** Changed in: xorg (Ubuntu) Status: Confirmed => In Progress ** Changed in: xorg (Ubuntu) Target: None => ubuntu-6.10-beta ** Changed in: xorg (Ubuntu Dapper) Importance: Untriaged => High Assignee: (unassigned) => Martin Pitt Status: Unco

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2006-09-22 Thread Matt Zimmerman
I see no reason why this data should be preserved from one session to the next; Martin, please care for it ** Changed in: xorg (Ubuntu) Assignee: (unassigned) => Martin Pitt -- .xsession_errors file grows out of control & saturates disk space https://launchpad.net/bugs/60448 -- ubuntu-bug

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2006-09-22 Thread Matt Zimmerman
** Changed in: Ubuntu Sourcepackagename: None => xorg -- .xsession_errors file grows out of control & saturates disk space https://launchpad.net/bugs/60448 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2006-09-21 Thread Léa GRIS
The offending code is in /etc/X11/Xsession Some updates ago, code was changed to increment .xsession-errors instead of overwrite it. /etc/X11/Xsession line 94: exec >>"$ERRFILE" 2>&1 Change it back to: exec >"$ERRFILE" 2>&1 I think reverting to the previous overwrite behaviour would be a good e

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2006-09-15 Thread mlaverdiere
** Description changed: 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, wit

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2006-09-14 Thread mlaverdiere
** Description changed: 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, wit

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2006-09-14 Thread Martin Pitt
For /var/log we have automatic log rotation, maybe we need something similar for error logs in ~, too. ** Changed in: Ubuntu Importance: Untriaged => High -- .xsession_errors file grows out of control & saturates disk space https://launchpad.net/bugs/60448 -- ubuntu-bugs mailing list ubuntu

[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space

2006-09-14 Thread Martin Pitt
Thanks for your report. This is a well-known problem, thus I removed the private flag for easier discussion. ** Visibility changed to: Public ** This bug is no longer flagged as a security issue ** Changed in: Ubuntu Status: Unconfirmed => Confirmed -- .xsession_errors file grows out of