Re: The .xsession-errors problem

2020-11-01 Thread Kenneth Parker
On Sun, Nov 1, 2020, 11:48 AM Teemu Likonen wrote: > * 2020-11-01 11:09:50+01, Anders Andersson wrote: > > > On Mon, Oct 26, 2020 at 5:43 PM Teemu Likonen wrote: > >> From my backups I found an ~/.xsession-errors file of size 111 > >> megabytes. Probably I deleted the file at that point and it s

Re: The .xsession-errors problem

2020-11-01 Thread Teemu Likonen
* 2020-11-01 11:09:50+01, Anders Andersson wrote: > On Mon, Oct 26, 2020 at 5:43 PM Teemu Likonen wrote: >> From my backups I found an ~/.xsession-errors file of size 111 >> megabytes. Probably I deleted the file at that point and it started >> grow again. > > Amateur. I found a 24 GB .xsession-e

Re: The .xsession-errors problem

2020-11-01 Thread Anders Andersson
On Mon, Oct 26, 2020 at 5:43 PM Teemu Likonen wrote: > > It seems that ~/.xsession-errors file can still grow to infinity in > size. Sometimes it grows really fast. This is nothing new: we have all > seen it and talked about it. What do you do to maintain this file? > > - Do you just delete it w

Re: The .xsession-errors problem

2020-10-29 Thread David
On Fri, 30 Oct 2020 at 05:27, Curt wrote: > On 2020-10-28, David wrote: > > Yes, I don't feel that I found the full answer. Because I spent a while > > using https://codesearch.debian.net/ to examine the source code > > of lxsession but I was unable to find any code that referenced > > "xsession

Re: The .xsession-errors problem

2020-10-29 Thread Curt
On 2020-10-28, David wrote: > > Yes, I don't feel that I found the full answer. Because I spent a while > using https://codesearch.debian.net/ to examine the source code > of lxsession but I was unable to find any code that referenced > "xsession-errors" or "ERRFILE" or any logfile except > "~/.ca

Re: The .xsession-errors problem

2020-10-29 Thread David Wright
On Tue 27 Oct 2020 at 07:53:01 (-0400), Greg Wooledge wrote: > On Tue, Oct 27, 2020 at 11:28:12AM +1100, David wrote: > > On Tue, 27 Oct 2020 at 10:56, David Wright wrote: > > > fuser -v "$j" > > > [ $? -ne 0 ] && gzip "$j" && mv -i "$j.gz" > > > "$HOME/.monitors/xsession/" > > > > >

Re: The .xsession-errors problem

2020-10-28 Thread David
On Thu, 29 Oct 2020 at 05:33, Celejar wrote: > On Wed, 28 Oct 2020 15:28:37 +1100 David wrote: > > On Wed, 28 Oct 2020 at 00:45, Andrei POPESCU > > wrote: > > > On Ma, 27 oct 20, 07:55:00, Greg Wooledge wrote: > > > > On Mon, Oct 26, 2020 at 11:07:37PM +, Tixy wrote: > > > > > On Mon, 2020-

Re: The .xsession-errors problem

2020-10-28 Thread Celejar
On Wed, 28 Oct 2020 15:28:37 +1100 David wrote: > On Wed, 28 Oct 2020 at 00:45, Andrei POPESCU wrote: > > On Ma, 27 oct 20, 07:55:00, Greg Wooledge wrote: > > > On Mon, Oct 26, 2020 at 11:07:37PM +, Tixy wrote: > > > > On Mon, 2020-10-26 at 18:35 +0200, Teemu Likonen wrote: > > > > > > It s

Re: The .xsession-errors problem

2020-10-28 Thread Andrei POPESCU
On Mi, 28 oct 20, 15:28:37, David wrote: > On Wed, 28 Oct 2020 at 00:45, Andrei POPESCU wrote: > > > On my system the file is rotated (renamed to .xsession-errors.old), on > > every login as far as I can tell. > > > Didn't find (yet) what is doing this (using lightdm, LXDE and minimal > > Xorg).

Re: The .xsession-errors problem

2020-10-27 Thread David
On Wed, 28 Oct 2020 at 00:45, Andrei POPESCU wrote: > On Ma, 27 oct 20, 07:55:00, Greg Wooledge wrote: > > On Mon, Oct 26, 2020 at 11:07:37PM +, Tixy wrote: > > > On Mon, 2020-10-26 at 18:35 +0200, Teemu Likonen wrote: > > > > It seems that ~/.xsession-errors file can still grow to infinity i

Re: The .xsession-errors problem

2020-10-27 Thread rhkramer
On Tuesday, October 27, 2020 11:05:31 AM Teemu Likonen wrote: > * 2020-10-26 20:04:55+03, Reco wrote: > > On Mon, Oct 26, 2020 at 06:35:45PM +0200, Teemu Likonen wrote: > >> - Do you configure some rotating system, perhaps with logrotate(8)? > >> > >> (Why doesn't Debian have this automati

Re: The .xsession-errors problem

2020-10-27 Thread Teemu Likonen
* 2020-10-26 20:04:55+03, Reco wrote: > On Mon, Oct 26, 2020 at 06:35:45PM +0200, Teemu Likonen wrote: >> - Do you configure some rotating system, perhaps with logrotate(8)? >> (Why doesn't Debian have this automatically?) > > For Debian, it may work. For RHEL, for instance, such logrotate p

Re: The .xsession-errors problem

2020-10-27 Thread Andrei POPESCU
On Ma, 27 oct 20, 07:55:00, Greg Wooledge wrote: > On Mon, Oct 26, 2020 at 11:07:37PM +, Tixy wrote: > > On Mon, 2020-10-26 at 18:35 +0200, Teemu Likonen wrote: > > > It seems that ~/.xsession-errors file can still grow to infinity in > > > size. Sometimes it grows really fast. This is nothing

Re: The .xsession-errors problem

2020-10-27 Thread Greg Wooledge
On Mon, Oct 26, 2020 at 11:07:37PM +, Tixy wrote: > On Mon, 2020-10-26 at 18:35 +0200, Teemu Likonen wrote: > > It seems that ~/.xsession-errors file can still grow to infinity in > > size. Sometimes it grows really fast. This is nothing new: we have all > > seen it and talked about it. What do

Re: The .xsession-errors problem

2020-10-27 Thread Greg Wooledge
On Tue, Oct 27, 2020 at 11:28:12AM +1100, David wrote: > On Tue, 27 Oct 2020 at 10:56, David Wright wrote: > > fuser -v "$j" > > [ $? -ne 0 ] && gzip "$j" && mv -i "$j.gz" "$HOME/.monitors/xsession/" > > > (Script improvements always appreciated.) > https://www.shellcheck.net says: >

Re: The .xsession-errors problem

2020-10-26 Thread David
On Tue, 27 Oct 2020 at 10:56, David Wright wrote: > fuser -v "$j" > [ $? -ne 0 ] && gzip "$j" && mv -i "$j.gz" "$HOME/.monitors/xsession/" [...] > (Script improvements always appreciated.) Hi, you might be interested in the info below : my test script: """ #!/bin/sh [ $? -ne 0 ] &

Re: The .xsession-errors problem

2020-10-26 Thread David Wright
On Mon 26 Oct 2020 at 18:35:45 (+0200), Teemu Likonen wrote: > It seems that ~/.xsession-errors file can still grow to infinity in > size. Sometimes it grows really fast. This is nothing new: we have all > seen it and talked about it. What do you do to maintain this file? > > - Do you just delet

Re: The .xsession-errors problem

2020-10-26 Thread John Hasler
Tixy writes: > I guess as I never hibernate my laptop and turn it off every day, it > never gets to an annoying size. I haven't rebooted my desktop for three months. ls -l .xsession-errors shows 468223. I consider that trivial and ignore it. -- John Hasler jhas...@newsguy.com Elmwood, WI USA

Re: The .xsession-errors problem

2020-10-26 Thread Tixy
On Mon, 2020-10-26 at 18:35 +0200, Teemu Likonen wrote: > It seems that ~/.xsession-errors file can still grow to infinity in > size. Sometimes it grows really fast. This is nothing new: we have all > seen it and talked about it. What do you do to maintain this file? Don't do anything here. The fi

Re: The .xsession-errors problem

2020-10-26 Thread Linux-Fan
Teemu Likonen writes: It seems that ~/.xsession-errors file can still grow to infinity in size. Sometimes it grows really fast. This is nothing new: we have all seen it and talked about it. What do you do to maintain this file? Until now, I had not seen it as a problem. But it is quite large h

Re: The .xsession-errors problem

2020-10-26 Thread Teemu Likonen
* 2020-10-26 18:12:43+01, Sven Joachim wrote: > If you have a good idea how to fix that, please send it to bug > #287876[1] or one of its siblings. > 1. https://bugs.debian.org/287876 There are already ideas and even patches in the bug report. For example a logrotate patch was sent in 2005-02-27

Re: The .xsession-errors problem

2020-10-26 Thread Sven Joachim
On 2020-10-26 18:35 +0200, Teemu Likonen wrote: > It seems that ~/.xsession-errors file can still grow to infinity in > size. Sometimes it grows really fast. This is nothing new: we have all > seen it and talked about it. What do you do to maintain this file? > > - Do you just delete it when you

Re: The .xsession-errors problem

2020-10-26 Thread Reco
Hi. On Mon, Oct 26, 2020 at 06:35:45PM +0200, Teemu Likonen wrote: > It seems that ~/.xsession-errors file can still grow to infinity in > size. Sometimes it grows really fast. This is nothing new: we have all > seen it and talked about it. What do you do to maintain this file? > > - Do