[Bug 60448] Re: .xsession_errors file grows out of control & saturates disk space
manu
manuellopezibanez at yahoo.es
Mon Apr 21 11:21:29 UTC 2008
@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 under a limit
of a given number of KB, then it deletes full lines from the start of
the file until the file is under the limit again, so it can keep
writing. It is pointless to have a xsession-error of more than 2MB (even
1MB seems already too much).
--
.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
Team, which is subscribed to kdebase in ubuntu.
More information about the kubuntu-bugs
mailing list