My system is constantly crashing because of systemd-journald
going into overdrive and bogging down the CPU (and probably the disk as well) when I watch videos with VLC
. I notice this behavior getting triggered by hitting the Pause/Play button. At this point I have no clue how to rescue the system, I'm just simply forced to do a hard reset, which is very annoying and time consuming.
I'd like to completely disable VLC from messing with systemd-journald
. I have seen a similar question but the provided solution didn't work for me.
This is how I adapted the answer above: I created a file named vlc.service
in /etc/systemd/system
with this content:
[Service]
StandardOutput=null
System variables:
- Ubuntu 22.04 Desktop
- VLC version 3.0.16 Vetinari (3.0.13-8-g41878ff4f2)
- systemd 249 (249.11-0ubuntu3.1)
In VLC itself, logging to syslog is not enabled (See screenshot)