Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
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
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
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
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
How many instances of CMX can one Pi run?
Moderator: mcrossley
- The Dalek Hunter
- Posts: 342
- Joined: Wed 05 Aug 2020 11:51 am
- Weather Station: Vantage Pro 2, Ecowitt GW2000
- Operating System: macOS Sonoma on a Mac Mini M2
- Contact:
How many instances of CMX can one Pi run?
I am running three separate instances of CMX. One for my Davis WLL, one for my Ecowitt GW1000B and one for my Ecowitt Wittboy. Each run on a dedicated Raspberry Pi 4b booting from a USB HD. These Pi have no other function. Just wondering if I could run all three instances on one Pi or would it be too much for it to cope with?
- HansR
- Posts: 6926
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: How many instances of CMX can one Pi run?
I think you can on an RPi4 but I would attach a (bootable) SSD drive iso the SD card to handle and store it all: faster and more secure.
Hans
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
- The Dalek Hunter
- Posts: 342
- Joined: Wed 05 Aug 2020 11:51 am
- Weather Station: Vantage Pro 2, Ecowitt GW2000
- Operating System: macOS Sonoma on a Mac Mini M2
- Contact:
-
SamiS
- Posts: 511
- Joined: Sun 27 Feb 2011 5:13 pm
- Weather Station: Ecowitt HP2551 & GW1100
- Operating System: Raspberry Pi OS
- Location: Kangasala, Finland
Re: How many instances of CMX can one Pi run?
Cpu usage shouldn’t become an issue with Pi4, one instance takes less than 10% cpu if you have ”normal” logging and realtime intervals (in my example 10min/60sec). Of course the cpu usage grows with tighter timings, but how much, that I don’t know. But if your Pi4 has only 2GB of RAM, that could become an issue depending on how much your instances tend to grow on memory usage during runtime. On my setup the process seems to grow to 500-700MB during 3-4 weeks.
One thing to consider is also the fact, that do you want to ”put all eggs in one basket”? I’m running two instances in different Pi’s to prevent losing too much data if one Pi fails for any reason. Of course the risk also depends on your setup, how much you can recover from eg. Ecowitt cloud.
If you want to still improve your storage reliability from usb hdds’ that are usually not desiged to run 24/7/365, I would recommend getting an Argon One case with m.2-ssd base. Previously on original version it supported only m.2 sata ssd:s, but now with v2 of the case you can select between sata- or nvme-compatible expansion board.
One thing to consider is also the fact, that do you want to ”put all eggs in one basket”? I’m running two instances in different Pi’s to prevent losing too much data if one Pi fails for any reason. Of course the risk also depends on your setup, how much you can recover from eg. Ecowitt cloud.
If you want to still improve your storage reliability from usb hdds’ that are usually not desiged to run 24/7/365, I would recommend getting an Argon One case with m.2-ssd base. Previously on original version it supported only m.2 sata ssd:s, but now with v2 of the case you can select between sata- or nvme-compatible expansion board.
- HansR
- Posts: 6926
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: How many instances of CMX can one Pi run?
Make sure you configure swapsize to 2 times physical RAM that solves a lot of problems.
I believe default is only 100K
I believe default is only 100K
Hans
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
- The Dalek Hunter
- Posts: 342
- Joined: Wed 05 Aug 2020 11:51 am
- Weather Station: Vantage Pro 2, Ecowitt GW2000
- Operating System: macOS Sonoma on a Mac Mini M2
- Contact:
Re: How many instances of CMX can one Pi run?
In the end I decided to go for plan D.
All three instance running on a Mac mini alongside WeatherCat!
All three instance running on a Mac mini alongside WeatherCat!
- philpugh
- Posts: 428
- Joined: Tue 24 May 2011 8:34 am
- Weather Station: See Signature
- Operating System: Debian 12 (RPi5)
- Location: Antrobus, Cheshire, UK
- Contact:
Re: How many instances of CMX can one Pi run?
FWIW I have a PI4 (8GB) running three instances of CMX (plus web servers for each system and another two servers for local groups).
The Pi 4 is averaging well below 10% CPU. It boots from a 128Gb SSD and everything is enclosed in an ARGON case (which has a s/w controlled fan in it).
The Pi 4 is averaging well below 10% CPU. It boots from a 128Gb SSD and everything is enclosed in an ARGON case (which has a s/w controlled fan in it).
Phil Pugh
GW1100 + WH65/WH57/WH31;GW1100 + WS68/WH40A (also with HP25xx console); GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
https://goosegate.uk/
GW1100 + WH65/WH57/WH31;GW1100 + WS68/WH40A (also with HP25xx console); GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
https://goosegate.uk/
- The Dalek Hunter
- Posts: 342
- Joined: Wed 05 Aug 2020 11:51 am
- Weather Station: Vantage Pro 2, Ecowitt GW2000
- Operating System: macOS Sonoma on a Mac Mini M2
- Contact:
Re: How many instances of CMX can one Pi run?
All three instances running happily on my Mac Mini and all three Pi now released for other projects.
I installed Mono from here https://www.mono-project.com/docs/getti ... stall/mac/
And then just copied all the CMX files across from Pi into /Users/myusername on the Mac
I put the files in three different folders CMXD, CMXE and CMXW
and made sure "stop second instance" was unticked.
I then wrote a little bash script to start CMX
cd /Users/myusername/CumulusMXD
/Library/Frameworks/Mono.framework/Versions/Current/bin/mono CumulusMX.exe -port 8999
With a different port for each. Using this I could start each instance via a terminal.
And the next bit is the bit I am not sure about! To launch on boot I used Automator as here
https://stackoverflow.com/questions/644 ... 25#6445525
and then added the three files produced to the logon items.
All start on boot and all seems be fine but the only way I can stop them is to remove them from login items and reboot.
Is there any other way to achieve this or as it is working should I just leave it?
Could there be any problems using automator to start CMX??
I installed Mono from here https://www.mono-project.com/docs/getti ... stall/mac/
And then just copied all the CMX files across from Pi into /Users/myusername on the Mac
I put the files in three different folders CMXD, CMXE and CMXW
and made sure "stop second instance" was unticked.
I then wrote a little bash script to start CMX
cd /Users/myusername/CumulusMXD
/Library/Frameworks/Mono.framework/Versions/Current/bin/mono CumulusMX.exe -port 8999
With a different port for each. Using this I could start each instance via a terminal.
And the next bit is the bit I am not sure about! To launch on boot I used Automator as here
https://stackoverflow.com/questions/644 ... 25#6445525
and then added the three files produced to the logon items.
All start on boot and all seems be fine but the only way I can stop them is to remove them from login items and reboot.
Is there any other way to achieve this or as it is working should I just leave it?
Could there be any problems using automator to start CMX??