You are not logged in.
Pages: 1
Hello!
The file .xsession-errors.old grows in a few days (maybe two weeks, I won't say for sure) up to ~10 gigabytes.
I think this requires the attention of developers.
The computer was used in normal mode: Internet search, movies, etc.
And please tell me how to correctly limit it manually?
Kernel: 4.19.0-9-amd64 x86_64
bits: 64
Desktop: Openbox 3.6.1
Distro: BunsenLabs GNU/Linux 10.4 (Lithium)
Last edited by sgx (2020-08-10 14:19:05)
Offline
The file .xsession-errors.old grows in a few days up to ~10 gigabytes.
I think this requires the attention of developers.
Mine does not. Your logs,require your attention!
And please tell me how to correctly limit it manually?
How big is ~/.xsession-errors? You can page throug the last part of .xsession-errors.old, se if you see any alarming thing and delete it. Next restart, .xsession-errors, will be renamed .xsession-errors.old. After reboot, .xsession-errors.old should not grow! Only .xsession-errors, will grow, until next reboot.
Here is some more info:
https://askubuntu.com/questions/46232/c … ion-errors
Last edited by rbh (2020-08-10 14:29:09)
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
How big is ~/.xsession-errors?
it's ok, 29054 bytes in total.
Shouldn't the logs be limited to some sort of limit anyway? At least not for the server.
A critical situation with the same recurring event will hang the entire system installed on SSD with a small disk space.
Last edited by sgx (2020-08-10 15:29:30)
Offline
This error filled everything:
[...] vdpau_chroma filter error: video surface creation failure: An invalid handle value was provided.
VLC + Nvidia
I suppose after the movie ended and the computer was not turned off for a long time.
Last edited by sgx (2020-08-10 15:32:00)
Offline
I use a systemd service to run a cleanup script (which you could run manually, or add to autostart to run at login):
#!/bin/bash
##
## clean-errors-log
# Remove all but last 100 lines from log if .xsession-errors gets bigger than 100kb
if [ $(du -bi ~/.xsession-errors | cut -f1) -gt 102400 ]; then
KEEP_LINES="$(tail -n 100 ~/.xsession-errors)"
echo "$KEEP_LINES" > ~/.xsession-errors
fi
exit 0
# Run by /etc/systemd/system/xsession-errors.service
[Unit]
Description=clean ~/.xsession-errors log
[Service]
Type=oneshot
RemainAfterExit=true
ExecStop=/home/damo/bin/clean-error-log
[Install]
WantedBy=multi-user.target
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
This error filled everything:
[...] vdpau_chroma filter error: video surface creation failure: An invalid handle value was provided.
VLC + Nvidia
I suppose after the movie ended and the computer was not turned off for a long time.
And what about the timestamps on the log entries? How do they relate to your media consumption?
How long does it take to generate, say, 1GB? Days? Weeks? Minutes?
VLC is very configurable.
I'm sure it can be configured to not spam the logs.
Or at the very least to not use a systray icon, so it actually closes completely after you finish watching a video.
Last edited by ohnonot (2020-08-10 19:46:41)
Offline
And what about
Didn’t look closely at the problem. But there is about this bug on the Internet.
I think several times left VLC running after watching.
Of course this is not a "Lithium" problem , but I would like to be able to limit the size of the logs.
VLC is very configurable.
I think it is more convenient to limit the logs at the system level, and not to configure each program.
Offline
I think it is more convenient to limit the logs at the system level, and not to configure each program.
You can alvays install logrotate, if you think it is not enough to glance at your conky now and then or look at diskinfo from neofetch every time you open an terminal or...
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
You can alvays install
Is there a command that can be used to limit the logs to a given size?
UPD.
Оk. Logrotate it does, thanks
Last edited by sgx (2020-08-23 15:53:12)
Offline
Pages: 1