Page 1 of 1

Forever Trail

Posted: Thu Jul 04, 2019 2:29 am
by skyward
Our desktop started miss-behaving, and we're not sure if it was us or some bug... probably us. The behavior is as follows: every icao reg has every position ever recorded for that reg in one trail. It glues together coming and going over the airspace with odd U turns when the craft returns, even if the flights are days apart. IT seems the data is being stored in RAM as well, resulting in our virtual radar crashing every so often when virtual storage fills. Any ideas what we did or how to stop such behavior?

Re: Forever Trail

Posted: Sat Jul 06, 2019 12:51 am
by Radio Active
In TOOLS - OPTIONS - GENERAL - check your "remove from tracking" time settings this would be the most likely culprit. also check you haven't clicked is this "acars satcom feed" for given ADS-B receiver/s as JAERO "remove from tracking" is set for longer tracking time.

Re: Forever Trail

Posted: Sat Jul 06, 2019 2:59 am
by skyward
Radio Active wrote:
Sat Jul 06, 2019 12:51 am
In TOOLS - OPTIONS - GENERAL - check your "remove from tracking" time settings this would be the most likely culprit. also check you haven't clicked is this "acars satcom feed" for given ADS-B receiver/s as JAERO "remove from tracking" is set for longer tracking time.
"Remove From Tracking" is set to 60 seconds.

"Acars Satcom Feed" is not checked.

"JAERO tracking timeout" is set to 1 minute, but not being used.

Re: Forever Trail

Posted: Sat Jul 06, 2019 3:13 am
by skyward
I believe the issue now is "Merged Feeds." I was merging several of our receivers for a unified view. But still doesn't explain why that view would have forever trails. Thoughts?

Re: Forever Trail

Posted: Sat Jul 06, 2019 10:12 pm
by skyward
So, the issue is larger than merged feeds. It cleared up the problem only because it deleted the histories. but now that they are coming back, every trail for every aircraft shows a full history (previous flight hours earlier). Any more thoughts?

Re: Forever Trail

Posted: Mon Jul 22, 2019 9:22 pm
by agw
There are a couple of ways you could get trails that grow forever.

The first would be if aircraft are never removed from the aircraft list. Aircraft are normally removed from the list a few minutes after their last message is received.

On the main VRS screen you're shown a list of all receivers. One of the columns on the list is the number of aircraft tracked. Does that number only ever go up or does it go up and down?

If it only goes up then aircraft are not being removed from the list. I would expect that over time VRS would eventually run out of RAM if that were the case.

If it goes up and down then aircraft are being removed from the aircraft list. The entry in the aircraft list is the only source of positions for trails, they are not loaded from the database (BaseStation.sqb's schema doesn't support the recording of full history trails, there's nowhere to load them from).

If this is the case then the second possibility is that the issue is on the web page side, if you have the page open for long periods of time then the trails build up. If it's something on the web page that's holding onto the aircraft after they are removed from tracking then reloading the page with CTRL+F5 (or just closing and reopening the page) will reset the trails.

If this is the case then do you have the custom content plugin installed? If so then if you disable the plugin and go back to the stock site then does the problem go away? If it does then it'll be your custom code that's holding onto the aircraft after they've stopped being tracked.

Re: Forever Trail

Posted: Mon Jul 22, 2019 10:03 pm
by skyward
agw wrote:
Mon Jul 22, 2019 9:22 pm
The first would be if aircraft are never removed from the aircraft list. Aircraft are normally removed from the list a few minutes after their last message is received.

On the main VRS screen you're shown a list of all receivers. One of the columns on the list is the number of aircraft tracked. Does that number only ever go up or does it go up and down?

If it only goes up then aircraft are not being removed from the list. I would expect that over time VRS would eventually run out of RAM if that were the case.
This is the behavior we are seeing. And for sure eventually the server crashes. Our work around today was to simply restart the server every day and that resets the count. But that's not a great solution. Better would be to figure out WHY the aircraft are not being removed from the list. The web admin settings are "normal." Possibly something changed in config file, but we can't find anything that would cause this behavior. Any ideas?

Re: Forever Trail

Posted: Tue Jul 23, 2019 12:08 am
by agw
Do you have any recent error messages in Tools | Open VirtualRadarLog.txt?