[systemd-devel] How to make journald increase logs storage capacity?
Jameson Graef Rollins
jrollins at finestructure.net
Sat Jan 20 18:02:03 UTC 2018
On Sat, Jan 20 2018, 4xy <garbagefenix at gmail.com> wrote:
> I have limit in 4Gb for journald regardless of the settings I've made. I
> see this line in the manual
>
> |$ sudo systemctl status systemd-journald ... jan 20 15:44:26 host
> systemd-journald[1218]: System journal (/var/log/journal/) is 4.5G, max
> 4.0G, 0B free. jan 20 15:44:26 host systemd-journald[1218]: Journal started|
>
> I see this line in the manual.
>
>> The first pair defaults to 10% and the second to 15% of the size of the respective file system, but
> each value is capped to 4G.
>
> I have about 1Gb logs per day. I would like to have ability to keep them
> about 3 months.
>
> https://stackoverflow.com/questions/48358430/how-to-make-journald-increase-logs-storage-capacity
I'm very interested in the answer to this question. I did not realize
there was a hard limit on the amount of logs that journald can support.
I have a project where we need to indefinitely store logs being produced
at a rate of many Mb per day. A 4Gb limit would definitely be
problematic.
Is there actually a hard limit? Why? Can it be circumvented?
Thank you very much for the information.
jamie.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180120/a6cdc4a0/attachment.sig>
More information about the systemd-devel
mailing list