Skip to content

Fix /var/ filling up once and for all#451

Merged
adeebshihadeh merged 8 commits intomasterfrom
fixup-var
Feb 4, 2025
Merged

Fix /var/ filling up once and for all#451
adeebshihadeh merged 8 commits intomasterfrom
fixup-var

Conversation

@adeebshihadeh
Copy link
Copy Markdown
Contributor

@adeebshihadeh adeebshihadeh commented Feb 3, 2025

24.04 added some additional config that overrode our custom one. This PR fixes that and should fix the /var/ stuff once and for all:

  • fixed the config that broke in 24.04
  • fixed logrotate to run on a monotonic clock...
  • runs logrotate every minute; this just happened to never be a problem with normal log
  • moves /var/log/ to its own tmpfs to minimize the impact of runaway log sizes
  • varwatch: delete everything in /var/log/ if logrotate fails (e.g. when log volume is absurdly high)

Closes #387

@adeebshihadeh adeebshihadeh changed the title fix filling up /var/ with journal logs Fix /var/ filling up once and for all Feb 4, 2025
@adeebshihadeh adeebshihadeh merged commit f3f6287 into master Feb 4, 2025
2 checks passed
@adeebshihadeh adeebshihadeh deleted the fixup-var branch February 4, 2025 03:20
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

Successfully merging this pull request may close these issues.

/var/ fills up much faster than before

1 participant