Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.18.0 (build 3190) - 15 June 2022

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.

Swap increase and SFTP fails

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
HansR
Posts: 3433
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Swap increase and SFTP fails

Post by HansR »

On the b3190 I get SFTP errors. See logfile.
The swap file consumption increases. The number of processes increases (as observed before).
You do not have the required permissions to view the files attached to this post.
Hans

https://meteo-wagenborgen.nl
https://meteo-wagenborgen.nl/CMX4
CMX build 3183 ● Ecowitt GW1100/WS80/WH40 ● RPi 3B+ ● Raspberry OS 5.15.32 ● Mono 6.8.0.105
CMX build 40xx ● Ecowitt GW1100/WS80/WH40 ● RPi 4B ● Raspberry OS 5.15.32 ● .NET 6.0.1
User avatar
HansR
Posts: 3433
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Swap increase and SFTP fails

Post by HansR »

The SFTP fails have an hourly frequency, I will ask the provider first.

The swap increment may have to do with CUtils, a fix is out I regard it now as fixed unless otherwise reported.
Hans

https://meteo-wagenborgen.nl
https://meteo-wagenborgen.nl/CMX4
CMX build 3183 ● Ecowitt GW1100/WS80/WH40 ● RPi 3B+ ● Raspberry OS 5.15.32 ● Mono 6.8.0.105
CMX build 40xx ● Ecowitt GW1100/WS80/WH40 ● RPi 4B ● Raspberry OS 5.15.32 ● .NET 6.0.1
User avatar
mcrossley
Posts: 10112
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Swap increase and SFTP fails

Post by mcrossley »

Thanks for the update - a regular hourly failure does sound like the server dropping connections after an hour even if they are still active. Just something you may have to live with
freddie
Posts: 1796
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 20.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Swap increase and SFTP fails

Post by freddie »

Could connection lifetime perhaps be made a settable parameter that defaults to whatever it is hardwired to currently?
Freddie
Image
User avatar
mcrossley
Posts: 10112
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Swap increase and SFTP fails

Post by mcrossley »

There is nothing on the client side to disconnect, just the opposite it sends a keep-alive message every 15 seconds by default.
freddie
Posts: 1796
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 20.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Swap increase and SFTP fails

Post by freddie »

In java you have some sort of connection object that you can call disconnect on. I guess c# does it differently?
Freddie
Image
User avatar
mcrossley
Posts: 10112
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Swap increase and SFTP fails

Post by mcrossley »

Ah, I see, you're saying an in an option to force a disconnect/reconnect periodically?
But really that would no different from CMX being disconnected by the remote host and reconnecting as it is doing now would it?
freddie
Posts: 1796
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 20.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Swap increase and SFTP fails

Post by freddie »

There seems to be a resource issue when a remote disconnect occurs. This way it is controlled by MX so resources should be managed and not leak?
Freddie
Image
User avatar
HansR
Posts: 3433
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Swap increase and SFTP fails

Post by HansR »

The provider has confirmed that they disconnect all SSH processes a user has opened once per hour. So the reconnect by CMX is correct and works. I'll see if I can get some true monitoring on the system. The app is new to me so setting it up takes some time.
Hans

https://meteo-wagenborgen.nl
https://meteo-wagenborgen.nl/CMX4
CMX build 3183 ● Ecowitt GW1100/WS80/WH40 ● RPi 3B+ ● Raspberry OS 5.15.32 ● Mono 6.8.0.105
CMX build 40xx ● Ecowitt GW1100/WS80/WH40 ● RPi 4B ● Raspberry OS 5.15.32 ● .NET 6.0.1
Post Reply