vim /etc/systemd/journald.conf
将[Journal]中的,把Storage改为none(默认为auto)
重启生效:
systemctl restart systemd-journald
vim /etc/systemd/journald.conf
将[Journal]中的,把Storage改为none(默认为auto)
重启生效:
systemctl restart systemd-journald
contes减少systemd-journal内存
https://www.luoweihua.cn/archives/30.html