Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.28.4 (build 3281) - 21 February 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Journal file linux

Talk about anything that doesn't fit elsewhere - PLEASE don't put Cumulus queries in here!
Post Reply
User avatar
HansR
Posts: 5707
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Journal file linux

Post by HansR »

I think Linux users need to limit the journal file in size (RPi's don't have a limit set so eventually the journal will outgrow the storage),
  • sudo nano /etc/systemd/journald.conf and set systemMaxUse=20M (or 2G)
  • Do a journal restart: sudo systemctl restart systemd-journald
Last edited by HansR on Mon 29 Jan 2024 1:29 pm, edited 2 times in total.
Hans

https://meteo-wagenborgen.nl
CMX build 3278 ● Ecowitt GW1100/WS80/WH40 ● RPi 3B+ ● Raspberry OS 6.1.21 ● Mono 6.12.0.200
https://meteo-wagenborgen.nl/CMX4/NET8/ (beta)
CMX build 4003+ ● RPi 4B ● RPi OS 6.1.0-rpi7-rpi-v8 aarch64 ● dotnet 8.0.1
Cortmalaw
Posts: 91
Joined: Sat 26 Dec 2020 2:21 pm
Weather Station: Davis
Operating System: Raspbian
Location: Near Glasgow, Scotland, UK

Re: Journal file linux

Post by Cortmalaw »

Good suggestion! Mine's been running for years!
User avatar
HansR
Posts: 5707
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Journal file linux

Post by HansR »

Aha... the reason I wrote this was that the parameter SystemKeepFree was not specified on my systems and I thought journald could dump info without limit. I should have known better of course and I later found that the default value is 15% when the system starts pruning the logs.

Nevertheless, as I found that it is possible for some software to dump an awful lot of info there so if you don't analyse or use the journals otherwise, I guess some minimisation would not be unwise. If you think it useful, read here. After all, on an RPi you are your own system manager isn't it.
Hans

https://meteo-wagenborgen.nl
CMX build 3278 ● Ecowitt GW1100/WS80/WH40 ● RPi 3B+ ● Raspberry OS 6.1.21 ● Mono 6.12.0.200
https://meteo-wagenborgen.nl/CMX4/NET8/ (beta)
CMX build 4003+ ● RPi 4B ● RPi OS 6.1.0-rpi7-rpi-v8 aarch64 ● dotnet 8.0.1
Post Reply