Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
(Note that 4.1.0 (build 4024) - 05 June 2024 remains available, but usage of this version is not recommended - particularly for Davis stations - and the included utility in this distribution for migrating to v4 is known to contain errors affecting conversion of dayfile.txt)
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.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
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
(Note that 4.1.0 (build 4024) - 05 June 2024 remains available, but usage of this version is not recommended - particularly for Davis stations - and the included utility in this distribution for migrating to v4 is known to contain errors affecting conversion of dayfile.txt)
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.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
CumulusMX running out of memory on Debian
Moderator: mcrossley
-
- Posts: 29
- Joined: Thu 11 Aug 2022 1:24 pm
- Weather Station: Davis Vantage Pro 2
- Operating System: Debian Linux
- Location: Piedmont, SC
- Contact:
CumulusMX running out of memory on Debian
My Cumulus installation on Debian 11.8 is consistently dying after only a few hours. It has been running flawlessly for years up until a few weeks ago. Both Cumulus and Debian are up to date. Mono is the latest version. I turned off MySQL inserts. The logs state that it is running out of memory. Im stumped at this point and need assistance. MXdiags zip is attached.
Thanks!!
ANdrew
Thanks!!
ANdrew
You do not have the required permissions to view the files attached to this post.
- HansR
- Posts: 6089
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: CumulusMX running out of memory on Debian
As in your other thread, the SD card might be worn out.
If not try increasing your swap disk like described in this procedure.
If not try increasing your swap disk like described in this procedure.
Hans
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
- mcrossley
- Posts: 12966
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: CumulusMX running out of memory on Debian
Can you take a screen shot of a htop command?
That will show how much memory each process is using.
That will show how much memory each process is using.
-
- Posts: 29
- Joined: Thu 11 Aug 2022 1:24 pm
- Weather Station: Davis Vantage Pro 2
- Operating System: Debian Linux
- Location: Piedmont, SC
- Contact:
Re: CumulusMX running out of memory on Debian
System memory and swap are fine. It is the process that is running out of memory. Nothing on the server is affected besides Cumulus.
- mcrossley
- Posts: 12966
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: CumulusMX running out of memory on Debian
And how much memory is MX consuming?
-
- Posts: 29
- Joined: Thu 11 Aug 2022 1:24 pm
- Weather Station: Davis Vantage Pro 2
- Operating System: Debian Linux
- Location: Piedmont, SC
- Contact:
Re: CumulusMX running out of memory on Debian
See the attached screenshot
You do not have the required permissions to view the files attached to this post.
-
- Posts: 29
- Joined: Thu 11 Aug 2022 1:24 pm
- Weather Station: Davis Vantage Pro 2
- Operating System: Debian Linux
- Location: Piedmont, SC
- Contact:
Re: CumulusMX running out of memory on Debian
I'm watching it with top -p <PID> and memory is constantly creeping up.
Code: Select all
1018 root 20 0 2068228 1.9g 29808 S 6.0 49.3 1:33.14 mono
-
- Posts: 2550
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: CumulusMX running out of memory on Debian
I agree, but the leak is likely in mono, not in MX code. Also, it is not a common issue as there are many Linux users (I'm one) who don't see this behaviour. It's likely distro-specific.
-
- Posts: 29
- Joined: Thu 11 Aug 2022 1:24 pm
- Weather Station: Davis Vantage Pro 2
- Operating System: Debian Linux
- Location: Piedmont, SC
- Contact:
Re: CumulusMX running out of memory on Debian
I agree. I realize that it is not common too. Here is the latest top:
Code: Select all
1018 root 20 0 2124036 1.9g 29616 S 6.3 50.7 2:44.53 mono
- mcrossley
- Posts: 12966
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: CumulusMX running out of memory on Debian
Wow, that is a serious memory leak! Just out of curiosity, does it still leak if you run MX from the command line rather than as a service (I expect it will).
It could be worth trying a slightly older version of Mono?
It could be worth trying a slightly older version of Mono?
-
- Posts: 29
- Joined: Thu 11 Aug 2022 1:24 pm
- Weather Station: Davis Vantage Pro 2
- Operating System: Debian Linux
- Location: Piedmont, SC
- Contact:
Re: CumulusMX running out of memory on Debian
Yes, same running from command line.
Working on older versions of mono.
Working on older versions of mono.
-
- Posts: 225
- Joined: Sat 27 Aug 2016 12:11 am
- Weather Station: Davis vantage pro 2
- Operating System: Debian
- Location: Wickliffe, Ohio
- Contact:
Re: CumulusMX running out of memory on Debian
Did you install mono from mono's site? Im running debian 12 (12.4) and debians package for mono is 6.8.0.105 and works fine.
so try to install it from deb's repository.
so try to install it from deb's repository.
Jeff
My Site http://wickliffeweather.com/
WeatherUnderground https://www.wunderground.com/personal-w ... KOHYOUNG21
My Site http://wickliffeweather.com/
WeatherUnderground https://www.wunderground.com/personal-w ... KOHYOUNG21
-
- Posts: 29
- Joined: Thu 11 Aug 2022 1:24 pm
- Weather Station: Davis Vantage Pro 2
- Operating System: Debian Linux
- Location: Piedmont, SC
- Contact:
Re: CumulusMX running out of memory on Debian
I did try 6.8.0 and the issue persisted so maybe it isn't mono.
I do have a Davis AirLink which might be uncommon...
I just now upgraded to the most recent MX release. See how it goes.
-
- Posts: 29
- Joined: Thu 11 Aug 2022 1:24 pm
- Weather Station: Davis Vantage Pro 2
- Operating System: Debian Linux
- Location: Piedmont, SC
- Contact:
Re: CumulusMX running out of memory on Debian
Still no joy, watching it bleed memory with top right now, back to the latest version of everything. I guess the next step is a compete reinstall of Cumulus with a fresh setup. Its very unfortunate because I have come to depend on my Cumulus generated display.
Did anyone analyze the MXdiags dump I posted?
Did anyone analyze the MXdiags dump I posted?
-
- Posts: 2550
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: CumulusMX running out of memory on Debian
The only thing that stood out to me in your MXDiags was this:
This is a fair enough message to see if you had just upgraded to a new release (when the new required entries would be created), but I wouldn't anticipate seeing it on every restart like you appear to be seeing. Might be worth looking into this before anything else.
@mcrossley does that sound reasonable?
Code: Select all
2023-12-11 18:52:56.669 Some values in Cumulus.ini had invalid values, or new required entries have been created.
@mcrossley does that sound reasonable?