Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.13.8 (build 3154) - 09 November 2021

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

If you are interested in supporting Cumulus then maybe you would like to contribute to the maintenance of the Wiki? This need not take hours of your time - just a half hour here and there can make a big difference, particularly if many people are doing this. Any contributions are very welcome, whether they involve new content or editing of existing content. It will be very helpful to current and future users of Cumulus software if the Wiki is kept well-maintained and current. If you are interested then please contact forum user saratogaWX and ask for a Wiki account.

Cumulus is busy flag?

Share your Cumulus MX user interface here

Moderator: mcrossley

Post Reply
g0gcd
Posts: 26
Joined: Fri 20 Jul 2012 6:57 pm
Weather Station: Fine Offset WH3080 (Solar)
Operating System: Windows 7
Location: Rothwell NN14 6JE UK
Contact:

Cumulus is busy flag?

Post by g0gcd »

Hi,
I'm just starting my conversion from Cumulus1 to Cumulus MX. I have background activities triggered by Cumulus 1 that include processes which read, copy, move and write to Cumulus internal files. I have, therefore, a process which checks for the word "Uploading" on the console. If present, the background processes wait for Cumulus to finish its work before proceeding.
Is there something similar in MX to indicate that datafile processing is in progress?
Thanks
John

User avatar
mcrossley
Posts: 9169
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulus is busy flag?

Post by mcrossley »

No, most the file operations in CMX are now conducted asynchronously, and there is no feedback on when they complete.

g0gcd
Posts: 26
Joined: Fri 20 Jul 2012 6:57 pm
Weather Station: Fine Offset WH3080 (Solar)
Operating System: Windows 7
Location: Rothwell NN14 6JE UK
Contact:

Re: Cumulus is busy flag?

Post by g0gcd »

Thanks Mark.
Need to tread very cautiously in this endeavour then!
There's a number of approaches I can try in order to work out when it's safe to intervene, but none as neat as being explicitly told "you are good to go!"
I appreciate the rapid reply.
Take care
John

User avatar
mcrossley
Posts: 9169
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Cumulus is busy flag?

Post by mcrossley »

Open the files read-only and in shared mode whenever possible. The latest version of CMX does retry the file writes if they fail first time.

g0gcd
Posts: 26
Joined: Fri 20 Jul 2012 6:57 pm
Weather Station: Fine Offset WH3080 (Solar)
Operating System: Windows 7
Location: Rothwell NN14 6JE UK
Contact:

Re: Cumulus is busy flag?

Post by g0gcd »

Thanks for the steer Mark,
I'm experimenting with reading MX's CPU usage... it rises above negligible whenever it's busy. The MX logs also give information about when the upload processes begin and end (both realtime and full update), so interrogating those may also help. It's clear, however, that MX only uploads for 1 or 2 seconds compared with C1s 10 seconds to 90 seconds, so a simple wait may be sufficient to clear any problems. My main concern is my process which zips the MmmYYLog.txt file, to add it to an 'archive' page of my own, which needs to avoid the point at which MX is writing to it. I'm also looking to see if Windows has an efficient way of detecting that MX has the file 'in use'. Yet another way may be to take a copy of the file and zip up the copy... so many avenues yet to explore.
It's good to know that MX retries the write if I do collide but I'd rather try to avoid that happening - leaving MX retries as the disaster recovery that it's intended to be.
Once again, thanks for your time helping me on what seems to be a relatively unique way of doing things.
Regards
John
www.nn14.co.uk

Post Reply