Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

limit journalctl usage #129

Open
palvarez89 opened this issue May 23, 2022 · 0 comments
Open

limit journalctl usage #129

palvarez89 opened this issue May 23, 2022 · 0 comments

Comments

@palvarez89
Copy link
Member

palvarez89 commented May 23, 2022

$ realpath limits.conf 
/etc/systemd/journald.conf.d/limits.conf

$ cat limits.conf 
[Journal]
SystemMaxUse=500M
SystemKeepFree=100M
SystemMaxFileSize=100M
RuntimeMaxUse=100M
RuntimeKeepFree=100M
RuntimeMaxFileSize=200M

sudo systemctl restart systemd-journald

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant