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

Issue running multiple instances b3220

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
User avatar
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:

Issue running multiple instances b3220

Post by philpugh »

I just downloaded b3220 and started to install.

I run three instances of CumulusMX on my Pi4 each with it's own weather station.

I stopped one instance, copied the b3220 kit over, duplicated the image to be WH65.exe - I like to be able to identify the running process easily. I restarted it and off it went - no issues. So I did the same for the second station, halted CMX, copied the kit over, renamed the image to WS68.exe and restarted - major problem - it detected a second instance of CumulusMX and terminated the application.

I copied the old version (b3215) back and that ran OK - this is how I left it.

Each of the three instances has it's image name changed to reflect the weatherstation (WH65.exe, WS68.exe and GW2001.exe) each with their own port number (8998, 9889, 9898) and they are all started as services.

I attach the log file and a check of the running processes before and after the start of the "failing" service.
You do not have the required permissions to view the files attached to this post.
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/
User avatar
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: Issue running multiple instances b3220

Post by philpugh »

Additional info.

This is the log for the first station changed (WH65).

It is still running normally!
You do not have the required permissions to view the files attached to this post.
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/
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Issue running multiple instances b3220

Post by Mapantz »

This was in the updates file:

- Stop second instance on Linux, this now uses a lock file to prevent a second instance from running
Image
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Issue running multiple instances b3220

Post by mcrossley »

Yep, the stop second instance function was not working on previous releases running on Linux (Windows it did work), it is now. So, if you want to run multiple instances you must make sure that option is not enabled in Program Settings
User avatar
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: Issue running multiple instances b3220

Post by philpugh »

Ooops. Missed that point. Thanks
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/
Post Reply