Closed bive242 closed 3 years ago
I'd say the write of the prom file hung: --write-prom=/usr/share/dump1090-fa/html/data-prom That's part of statsWrite.
Write stast / promfile to /run/readsb/stats.prom instead. Then you can get it at /tar1090/data/stats.prom if you have set tar1090 up to use readsb data.
It actually performed as expected .... The state was written to disk .. so i wouldn't even expect there to be any data loss.
Really if it hangs for 10 seconds writing to disk .... don't make readsb write to disk.
I figured that with my low traffic count there really shouldn't be any problems writing directly to disk. Apparently there was, despite using a SSD disk on a sata600 controller.
It didn't work out the way I wanted it anyway, so I'll try another way :)
I suppose there shouldn't be. But i don't see any issues with the code either and it's running basically the same version on a few servers.
Well, I'm not digging any deeper into this. Just experimenting with some of the features readsb offers to see if they can be useful for my little project. I found some interesting scripts that I wanted to try out, but they didn't do what I want to do, so I'll do some quick and dirty parsing of aircraft.json and extract the relevant data from that and dump in a database. Then I'll think about a presentation layer.
To write traces you're missing a couple options
I'm running dev-branch and that may explain why there are errors, but I'll report it anyway.
Readsb crashed and this is from journalctl:
I'm running with the following arguments:
Something happened that consumed a lot of CPU (the system has approx 50% CPU usage from airspy_adsb, no other jobs are running besides generating graphs for graphs1090 and some statistical scripts, but they run only once per day and at another time.