[kde-linux] xsession-errors 24Gb

James Richard Tyrer tyrerj at acm.org
Sun Nov 11 04:33:54 UTC 2007


Paul Cartwright wrote:
> my uptime on my system was 7 days, and my .xsession-errors file was 24 Gb.
> I am running Debian Etch and KDE 3.5.5
> 
> what is the best way to handle this? logrotate? cron job to just zero out the 
> file??

You probably already have logrotate running so you might as well add 
this to it.  It can limit the size of the file but it will keep a copy.

Unfortunately, logroatate won't do a true circular log file, which is 
what I would like.  This seems possible but might not be doable in user 
space.

-- 
JRT



More information about the kde-linux mailing list