<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jul 17, 2015 at 2:13 PM, David Sommerseth <span dir="ltr"><<a href="mailto:davids@redhat.com" target="_blank">davids@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi,<br>
<br>
I'm looking through some journals now, and even though I've seen it a<br>
few times I haven't thought about it until now.<br>
<br>
   systemd-journal[1151]: Runtime journal is using 8.0M (max allowed<br>
             4.0G, trying to leave 4.0G free of 63.7G available →<br>
             current limit 4.0G).<br>
<br>
Could this line be cleaned up so you don't have to look up a man page to<br>
try to figure out what this really means?  Here's my uneducated guess<br>
and confusion of this line:<br>
<br>
* Runtime journal is using 8.0M<br>
  - Okay, so currently the journal uses 8MB of disk-space.  No problem.<br>
<br>
* max allowed 4.0G<br>
  - Okay, so the journal should not grow beyond 4GB, makes sense.  No<br>
    problem.<br>
<br>
* trying to leave 4.0G free of 63.7G available<br>
  - Uhm, what!? So it will grow until there is 4GB left on the<br>
    filesystem?  Not so okay.<br></blockquote><div><br></div><div>It chooses the /smallest/ limit, not largest. (Common sense...) For example, if you had only 5 GB space available, the journal would not grow beyond 1 GB.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
* current limit 4.0G<br>
  - Ehh ... okay ... so make up your mind, please!  So will the<br>
    journal grow until 4GB or 59.7GB.<br></blockquote><div><br></div><div>This *is* it making up its mind: "min(limit 1, limit 2) → resulting limit"</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
But then I looked into /var/log/journal ...<br>
<br>
  # du --si -s /var/log/journal/<br>
  4.3G  /var/log/journal/<br>
<br>
I do see that both system,journal and user-UID.journal are both 8.4MB,<br>
and from that I can guess what the log entry tried to tell me with<br>
"Runtime journal" ... but how is /that/ information useful for me, from<br>
a sys-admin point of view?<br></blockquote><div><br></div><div>"Runtime" here means /run, as opposed to persistent in /var. They have separately configurable limits, since /run is in RAM and /var is usually on disk. (Though, I'm not entirely sure what purpose the runtime journal even serves, when /var is available.)</div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Mantas Mikulėnas <<a href="mailto:grawity@gmail.com" target="_blank">grawity@gmail.com</a>></div></div>
</div></div>