Warning. RPI 3, Mono 5.10.0.140 & preview VRS.

Bug reports and questions about running Virtual Radar Server on Linux
Post Reply
zardoz
Posts: 4
Joined: Sun Mar 04, 2018 5:13 pm

Warning. RPI 3, Mono 5.10.0.140 & preview VRS.

Post by zardoz » Sun Mar 04, 2018 9:29 pm

Just a heads-up.

If you have a successfully running VRS instance on your Raspberry PI 3, don't upgrade your version of Mono from 5.8.0.127 to the latest in the Mono repository (5.10.0.140).

It has a very serious memory leak problem, resulting in my RPI3 rebooting every 9 hours.
Reverting to 5.8.0.127 restores stability.

I'm using this preview version of VRS.

[2018-02-04 15:25:17 UTC] VirtualRadar.tar.gz
Mono GZIP tarball. 3,533,155 bytes.

Datamix
Posts: 43
Joined: Thu Aug 10, 2017 7:36 pm

Re: Warning. RPI 3, Mono 5.10.0.140 & preview VRS.

Post by Datamix » Mon Mar 05, 2018 12:51 pm

Hey

I am running preview 04-FEB-2018 on a RPI 3 and Mono version 5.10.0.140. But I cannot confirm any reboots.
vrs: 12-MAY-2018

zardoz
Posts: 4
Joined: Sun Mar 04, 2018 5:13 pm

Re: Warning. RPI 3, Mono 5.10.0.140 & preview VRS.

Post by zardoz » Mon Mar 05, 2018 6:12 pm

I tried to attach a memory usage graph to demonstrate the situation but the forum doesn't seem to like it in either Jpeg or Png.

That was the only change made, from 5.8 to 5.10 and back again.

I uploaded it to https://ibb.co/cHDLf7 instead.

Image

5.10 update was done Frinday lunchtime and reverted Saturday evening.

Datamix
Posts: 43
Joined: Thu Aug 10, 2017 7:36 pm

Re: Warning. RPI 3, Mono 5.10.0.140 & preview VRS.

Post by Datamix » Tue Mar 06, 2018 4:21 pm

As already mentoined I cannot confirm any reboots but I also experienced the memory leak.

Image
vrs: 12-MAY-2018

agw
Posts: 2016
Joined: Fri Feb 17, 2012 3:20 am

Re: Warning. RPI 3, Mono 5.10.0.140 & preview VRS.

Post by agw » Mon Mar 19, 2018 12:00 am

There's this issue reported a couple of days ago in github for mono - looks like a possible culprit, VRS creates a lot of FileInfo objects when it's caching up aircraft photographs, silhouettes and operator flags:

https://github.com/mono/mono/issues/7655

zardoz
Posts: 4
Joined: Sun Mar 04, 2018 5:13 pm

Re: Warning. RPI 3, Mono 5.10.0.140 & preview VRS.

Post by zardoz » Mon Mar 19, 2018 1:48 am

That certainly sounds like a match.

I've certainly got all the silhouette and flag lookups active.

Mono 5.8.0.127 is absolutely rock solid.

Post Reply