Summary: | journald doesn't rotate uncleanly closed files | ||
---|---|---|---|
Product: | systemd | Reporter: | Dave Reisner <d> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED INVALID | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Dave Reisner
2012-12-20 01:34:39 UTC
Looks like I can confirm this up to Fedora 19 at least, after I hit the massive journald/rsyslog fail that showed up today, I noticed I had journal~ files going back to March in my /var/log/journal, but nothing that old without the tilde. I went over the vacuuming code, and and I don't see any basis for corrupted journal files to be treated differently. There was a buglet in space reporting [1], and I made a change to delete "empty" (entry-less) journal files, which makes the usage reported by journalctl and by systemd-journald agree [2], but the code paths for .journal and journal~ files are basically the same. Can you make sure that the journal directory is actually over SystemMaxUse or the free space is below SystemKeepFree, and if yes, show /etc/systemd/journald.conf, and the output from 'journalctl -b --full -u systemd-journald', and 'du -a /var/log/journal/'? The version of systemd-journald from git would be best [3]. Thanks, Zbyszek [1] http://cgit.freedesktop.org/systemd/systemd/commit/?id=670b110 [2] http://cgit.freedesktop.org/systemd/systemd/commit/?id=9d64774 [3] I use: make -C build -j5 && sudo rm /usr/lib/systemd/systemd-journald && sudo cp build/.libs/systemd-journald /usr/lib/systemd/ -v && sudo systemctl restart systemd-journald I can't reproduce this anymore in 204 -- my original test case passes, so I'm going to close this as invalid. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.