----------------------------------------------------------------------------------
@MSGID: 3:633/10 729bc570
@REPLY: 3:633/10 7ca258de
@PID: PyGate 1.5.19
@TID: PyGate/Linux 1.5.19
@NOTE: tin/2.6.5-20250409 ("Helmsdale")
(Linux/6.12.95+deb13-amd64 (x86_64))
@CHRS: CP437 2
@TZUTC: 0100
@REPLYADDR: cl@isbd.net
@REPLYTO: 3:633/10 UUCP
@RFC-Message-ID: <d74jkm-7pf.ln1@q957.zbmc.eu>
druck <
news@druck.org.uk> wrote:
> On 04/08/2026 10:15, Chris Green wrote:
> > E.g. how do you stop systemd`s logging from writing to `hard` disk?
> > It would need a **lot** of reconfiguration before it would use a
> > reasonable amount of space such as is available on a RAM drive.
>
> Here are the important lines of /etc/systemd/journald.conf
>
> [Journal]
> Storage=volatile
> RuntimeMaxUse=32M
> RuntimeMaxFileSize=8M
> RuntimeMaxFiles=4
> ForwardToConsole=no
> ForwardToWall=no
>
>
> That will log to RAM only, a maximum of 32M in up to 4 files, so it
> should automatically prune 25% when it gets full, but I`m often having
> to do it manually with:-
>
> journalctl --vacuum-files 3
>
That last rather spoils things, I`m expecting the systems in question
to run for months (at least) without any intervention from me.
... and systemd`s journalling isn`t the only thing that writes, it was
just the first thing that I thought of (hence the `E.g.`).
--
Chris Green
·
--- PyGate Linux v1.5.19
* Origin: Dragon`s Lair, PyGate NNTP<>Fido Gate (3:633/10)
SEEN-BY: 19/10 50/109 153/757 218/840 840 220/70
221/1 6 360 226/17 100
SEEN-BY: 229/426 240/1120 267/800 301/1 113 812
310/31 335/364 341/66 463/68
SEEN-BY: 550/278 633/10 20 280 281 416 418 420
422 509 2744 712/848 770/1 3
SEEN-BY: 770/100 340 772/210 220 230 5001/100
5019/40 5020/715 848 1042 1146
SEEN-BY: 5020/4441 12000 5023/24 5030/49 722 1081
1474 5051/44 5061/133
SEEN-BY: 5075/128
@PATH: 633/10 280 770/1 218/840 221/6 301/1
5020/1042 4441 715