-
-
Notifications
You must be signed in to change notification settings - Fork 606
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
Enhancement: Do we want to manage journalctl --disk-usage #1307
Labels
Comments
Sorry for the delay on this. Yeah I think it would be nice to set a better default. 500MB would be a good starting point. Is this something you'd want to contribute? |
robrecord
added a commit
to robrecord/trellis
that referenced
this issue
Jul 1, 2022
robrecord
added a commit
to robrecord/trellis
that referenced
this issue
Jul 1, 2022
robrecord
added a commit
to robrecord/trellis
that referenced
this issue
Jul 1, 2022
robrecord
added a commit
to robrecord/trellis
that referenced
this issue
Jul 1, 2022
cmurtagh
pushed a commit
to pressbooks/trellis
that referenced
this issue
Jul 19, 2022
* Limit ansible version range in `>=2.10.0,<6` See: roots#1393 * Fix ansible incompatibility with `Failed connection to remote repo` Newer versions of `ansible.builtin.git` puts error message in `msg` instead of `stderr`. * Switch order of PHP operations Stop old process(es) before starting a new one. Fixes roots#1394 Signed-off-by: Rob Record <rob@robrecord.com> * Set max journal log file size Fixes roots#1307 * Fix shared folder permissions * chore: Use new `requirements.yml` format * Update CHANGELOG * Remove broken and unused cli import Fixes roots#1393 Importing `cli` from `__main__` no longer works as of ansible 2.13.1 This import is no longer used anyway so the fix is to remove it. * v1.16.0 * regularize indentation in galaxy.yml Co-authored-by: Tang Rufus <tangrufus@gmail.com> Co-authored-by: Scott Walkinshaw <scott.walkinshaw@gmail.com> Co-authored-by: Rob Record <rob@robrecord.com> Co-authored-by: Lee Hanbury <lee.hanbury@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
What's wrong?
On a year-old (ish) DO droplet, the
journalctl
logs are taking up 1.5Gig of space.What have you tried?
Not much, yet.
What insights have you gained?
It looks like you can set a SystemMaxUse in your systemd configuration file.
Possible solutions
It doesn't look like Trellis includes systemd configs. Wondering if this would be a useful feature to include.
Steps To Reproduce
journalctl --disk-usage
on server and see:Archived and active journals take up 1.4G in the file system.
Expected Behavior
I would expect the default journal space to be smaller.
Actual Behavior
The reason I'm looking is that the server is operating very slowly. I imagine the size of the journal logs aren't the cause, but though it was worth bringing up anyway. To solve my current problem, I'm going to look for other memory issues, try restarting nginx and adjusting buffer count and size.
Relevant Log Output
No response
Trellis Version
Officially support Ubuntu 20.04 (and default Vagrant to it) ([#1197]
Ansible Version
Trellis CLI Version
canary
The text was updated successfully, but these errors were encountered: