You are not logged in.

#1 2012-10-24 19:28:49

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

systemd journal size

On the top line of journalctl output, I see

Oct 22 17:31:50 caddywhompus systemd-journal[203]: Allowing runtime journal files to grow to 197.8M.

I want to reduce this upper limit.  I checked the manpage of journald.conf and the setting I wanted seemed to be RuntimeMaxFIleSize.  However, according to the selfsame manpage, the default size would play out to ~72MB*.  So, I'm wondering if I've got this all wrong or something...

* The default of RuntimeMaxFileSize is 1/8 the value of [RuntimeMaxUse], which defaults to 10% of the fs.  My /var is on a 5.8GB partition, so my calculation was:

(0.1 * 5.8GB) / 8 = 72.5MB


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#2 2012-10-24 19:31:59

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: systemd journal size

"runtime" refers to storage under /run, not /var. Look for another message that mentions "system" journal files. That will be for /var.

Offline

#3 2012-10-24 19:38:20

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: systemd journal size

Doh, had a mild dyslexic episode or something.  I had it right in my head, I swear! tongue  But thanks for setting me straight.

In any case, the defaults for System<blah> are the same as their Runtime alternatives.  And, probably important to mention, all settings are at defaults.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

Board footer

Powered by FluxBB