<p dir="ltr">No, the cap is applied to the described _default_ values only, not to the ones you configure.</p>
<p dir="ltr">Journal limits are additive; that is, logs are only kept as long as they satisfy *all* limits, both time and space.</p>
<p dir="ltr">So if you want to keep a large amount of logs, the first thing to do is raise SystemMaxUse=.</p>
<p dir="ltr">Jan 20 20:53:44 radius systemd-journald[11847]: System journal (/var/log/journal/09c69409749a4…) is 4.0G, max 16.0G, 11.9G free.</p>
<br><div class="gmail_quote"><div dir="ltr">On Sat, Jan 20, 2018, 20:12 Jameson Graef Rollins <<a href="mailto:jrollins@finestructure.net">jrollins@finestructure.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, Jan 20 2018, 4xy <<a href="mailto:garbagefenix@gmail.com" target="_blank">garbagefenix@gmail.com</a>> wrote:<br>
> I have limit in 4Gb for journald regardless of the settings I've made. I<br>
> see this line in the manual<br>
><br>
> |$ sudo systemctl status systemd-journald ... jan 20 15:44:26 host<br>
> systemd-journald[1218]: System journal (/var/log/journal/) is 4.5G, max<br>
> 4.0G, 0B free. jan 20 15:44:26 host systemd-journald[1218]: Journal started|<br>
><br>
> I see this line in the manual.<br>
><br>
>> The first pair defaults to 10% and the second to 15% of the size of the respective file system, but<br>
> each value is capped to 4G.<br>
><br>
> I have about 1Gb logs per day. I would like to have ability to keep them<br>
> about 3 months.<br>
><br>
> <a href="https://stackoverflow.com/questions/48358430/how-to-make-journald-increase-logs-storage-capacity" rel="noreferrer" target="_blank">https://stackoverflow.com/questions/48358430/how-to-make-journald-increase-logs-storage-capacity</a><br>
<br>
I'm very interested in the answer to this question. I did not realize<br>
there was a hard limit on the amount of logs that journald can support.<br>
I have a project where we need to indefinitely store logs being produced<br>
at a rate of many Mb per day. A 4Gb limit would definitely be<br>
problematic.<br>
<br>
Is there actually a hard limit? Why? Can it be circumvented?<br>
<br>
Thank you very much for the information.<br>
<br>
jamie.<br>
_______________________________________________<br>
systemd-devel mailing list<br>
<a href="mailto:systemd-devel@lists.freedesktop.org" target="_blank">systemd-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/systemd-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
</blockquote></div><div dir="ltr">-- <br></div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><p dir="ltr">Mantas Mikulėnas <<a href="mailto:grawity@gmail.com">grawity@gmail.com</a>><br>
Sent from my phone</p>
</div></div>