Page 1 of 3

WeatherLink Live stability

Posted: Wed 11 May 2022 10:10 am
by mcrossley
Just thought I'd post this out of interest.

My live CMX has been running for 13 days since I last updated it, the WLL stats...

Multicast packets received OK = 100.00% (0/449482)

450 thousand data packets without a single missed one, not bad!

Re: WeatherLink Live stability

Posted: Wed 11 May 2022 12:42 pm
by Mapantz
2022-05-06 04:31:05.542 WLL: Percentage good packets received from WLL 100.00% - (0,672547)

The PC then rebooted :groan:

Re: WeatherLink Live stability

Posted: Wed 11 May 2022 12:46 pm
by dazza1223
mcrossley wrote: Wed 11 May 2022 10:10 am Just thought I'd post this out of interest.

My live CMX has been running for 13 days since I last updated it, the WLL stats...

Multicast packets received OK = 100.00% (0/449482)

450 thousand data packets without a single missed one, not bad!
how can you run it for 13 days with out a reboot as this mono fill up then memory and i have to keep rebooting every 3 days?

Re: WeatherLink Live stability

Posted: Wed 11 May 2022 2:57 pm
by mcrossley
Mine has running at phys: 525 MB - virt: 647 MB at the moment with an uptime of 13 days, 5 hours.

The pi4 is running at 935 MB of memory used (50%) so I'll be restarting CMX soon. :bash: Two weeks is the norm for me.

Re: WeatherLink Live stability

Posted: Wed 11 May 2022 3:01 pm
by dazza1223
So is there anything I can do then keep rebooting it every 2 day it seem to be 2 soon

Re: WeatherLink Live stability

Posted: Wed 11 May 2022 4:05 pm
by mcrossley
How much free memory do you have on your server without CMX running?

Re: WeatherLink Live stability

Posted: Wed 11 May 2022 5:30 pm
by dazza1223
Real memory 271.14 MiB used / 719.85 MiB cached / 3.74 GiB total

Re: WeatherLink Live stability

Posted: Mon 16 May 2022 6:20 pm
by mcrossley
Loads of memory then, is it a pi 4?


I just restarted my CMX instance, the network stats from the WLL were still 100% - 0 dropped of 633,790 data messages.

Re: WeatherLink Live stability

Posted: Tue 17 May 2022 8:16 am
by dazza1223
yup it the pi 4. 4GB ram ive turn on Debug logging and when it crashes again i will upload the logs

Re: WeatherLink Live stability

Posted: Tue 17 May 2022 8:23 am
by mcrossley
If it is a memory issue then the logs may not show anything as the process just gets terminated by the OS. The console log should show an "out of memory" error.

Re: WeatherLink Live stability

Posted: Tue 17 May 2022 8:33 am
by dazza1223
yh well i did take in to count that mono had a bug and i just went with it i created a script to restart CMX every 2 days but when i saw u was only doing it every 2 weeks then something really ant right with it ?

Re: WeatherLink Live stability

Posted: Tue 17 May 2022 9:22 am
by mcrossley
If you can only run for two days then something does seem to be wrong, so yes post your logs and I'll take a look.

Re: WeatherLink Live stability

Posted: Tue 17 May 2022 9:34 am
by dazza1223
will do mark thank you

Re: WeatherLink Live stability

Posted: Sat 21 May 2022 7:34 am
by dazza1223
hey mark here is the logs it did it this mooring
MXdiags.rar

and ive notes in the cmx folder i have a crash mono file if that means anything
mono_crash.ffffffff00000001.40.rar
and in my cumuluswebtags.php where all my tags go it was in this state when it crashed

System.OutOfMemoryException: Insufficient memory to continue the execution of the program.
at (wrapper alloc) System.Object.AllocVector(intptr,intptr)
at System.Text.StringBuilder.ExpandByABlock (System.Int32 minBlockCharCount) [0x00089] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
at System.Text.StringBuilder.Append (System.Char* value, System.Int32 valueCount) [0x000b5] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
at System.Text.StringBuilder.Append (System.Char[] value, System.Int32 startIndex, System.Int32 charCount) [0x00078] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
at System.IO.StreamReader.ReadToEnd () [0x00029] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
at CumulusMX.TokenParser.ToString () [0x00012] in <f782f10bc0aa41c4b1612e53746d6478>:0

Re: WeatherLink Live stability

Posted: Sat 21 May 2022 3:30 pm
by ConligWX
dazza1223 wrote: Sat 21 May 2022 7:34 am
and ive notes in the cmx folder i have a crash mono file if that means anything

mono_crash.ffffffff00000001.40.rar

is mono 5.18.0.240 the only package available for your pi4 OS?

mono is now upto v6.8.x for most linux distros seems your version is eating memory.