Hi,
Since updating to Piaware 2.1-5 (I also updated dump1090), I noticed that every now and then, maybe once a day, something crashes and then everything just works fine again. Not sure, if it is dump190 or the MLAT-client.
I am monitoring CPU-load and network traffic and can match the crashes to something like this in the logs:
01/04/2016 18:26:52 mlat(23053): Server status: synchronized with 37 nearby receivers
01/04/2016 18:26:52 mlat(23053): Receiver: 457.9 msg/s received 8.1kB/s from receiver
01/04/2016 18:26:52 mlat(23053): Server: 0.6 kB/s from server 0.0kB/s TCP to server 1.2kB/s UDP to server
01/04/2016 18:26:52 mlat(23053): Results: 254.6 positions/minute
01/04/2016 18:26:52 mlat(23053): Aircraft: 20 of 29 Mode S, 40 of 70 ADS-B used
01/04/2016 18:28:01 312685 msgs recv’d from dump1090 (1270 in last 5m); 312598 msgs sent to FlightAware
01/04/2016 18:33:01 314026 msgs recv’d from dump1090 (1341 in last 5m); 313939 msgs sent to FlightAware
01/04/2016 18:38:01 315186 msgs recv’d from dump1090 (1160 in last 5m); 315099 msgs sent to FlightAware
01/04/2016 18:38:39 mlat(23053): Lost connection to localhost:30005
01/04/2016 18:38:39 mlat(23053): Reconnecting in 30.0 seconds
01/04/2016 18:38:39 mlat(23053): Beast-format results connection with localhost:30104: connection lost
01/04/2016 18:38:39 lost connection to dump1090 via faup1090
01/04/2016 18:38:39 reconnecting to dump1090
01/04/2016 18:38:39 no ADS-B data program seen listening on port 30005 for 0 seconds, next check in 60s
01/04/2016 18:39:09 mlat(23053): Connection to localhost:30005 lost: [Errno 111] Connection refused
01/04/2016 18:39:09 mlat(23053): Reconnecting in 30.0 seconds
01/04/2016 18:39:10 mlat(23053): Beast-format results connection with localhost:30104: [Errno 111] Connection refused
01/04/2016 18:39:39 no ADS-B data program seen listening on port 30005 for 60 seconds, next check in 60s
01/04/2016 18:39:40 mlat(23053): Connection to localhost:30005 lost: [Errno 111] Connection refused
01/04/2016 18:39:40 mlat(23053): Reconnecting in 30.0 seconds
01/04/2016 18:39:40 mlat(23053): Beast-format results connection with localhost:30104: [Errno 111] Connection refused
01/04/2016 18:40:10 mlat(23053): Connection to localhost:30005 lost: [Errno 111] Connection refused
01/04/2016 18:40:10 mlat(23053): Reconnecting in 30.0 seconds
01/04/2016 18:40:11 mlat(23053): Beast-format results connection with localhost:30104: [Errno 111] Connection refused
01/04/2016 18:40:39 no ADS-B data program seen listening on port 30005 for 120 seconds, next check in 60s
01/04/2016 18:40:40 mlat(23053): Connection to localhost:30005 lost: [Errno 111] Connection refused
01/04/2016 18:40:40 mlat(23053): Reconnecting in 30.0 seconds
01/04/2016 18:40:41 mlat(23053): Beast-format results connection with localhost:30104: [Errno 111] Connection refused
01/04/2016 18:41:10 mlat(23053): Connection to localhost:30005 lost: [Errno 111] Connection refused
01/04/2016 18:41:10 mlat(23053): Reconnecting in 30.0 seconds
01/04/2016 18:41:12 mlat(23053): Beast-format results connection with localhost:30104: [Errno 111] Connection refused
01/04/2016 18:41:39 no ADS-B data program seen listening on port 30005 for 180 seconds, next check in 60s
01/04/2016 18:41:41 mlat(23053): Connection to localhost:30005 lost: [Errno 111] Connection refused
01/04/2016 18:41:41 mlat(23053): Reconnecting in 30.0 seconds
01/04/2016 18:41:42 mlat(23053): Beast-format results connection with localhost:30104: [Errno 111] Connection refused
01/04/2016 18:41:53 mlat(23053): Receiver status: disconnected
01/04/2016 18:41:53 mlat(23053): Server status: not synchronized with any nearby receivers
01/04/2016 18:41:53 mlat(23053): Receiver: 373.2 msg/s received 6.7kB/s from receiver
01/04/2016 18:41:53 mlat(23053): Server: 0.5 kB/s from server 0.0kB/s TCP to server 0.9kB/s UDP to server
01/04/2016 18:41:53 mlat(23053): Results: 204.5 positions/minute
01/04/2016 18:41:53 mlat(23053): Aircraft: 0 of 0 Mode S, 0 of 0 ADS-B used
01/04/2016 18:42:11 mlat(23053): Connection to localhost:30005 lost: [Errno 111] Connection refused
01/04/2016 18:42:11 mlat(23053): Reconnecting in 30.0 seconds
01/04/2016 18:42:13 mlat(23053): Beast-format results connection with localhost:30104: [Errno 111] Connection refused
01/04/2016 18:42:40 no ADS-B data program seen listening on port 30005 for 241 seconds, next check in 60s
01/04/2016 18:42:41 mlat(23053): Connection to localhost:30005 lost: [Errno 111] Connection refused
01/04/2016 18:42:41 mlat(23053): Reconnecting in 30.0 seconds
01/04/2016 18:42:43 mlat(23053): Beast-format results connection with localhost:30104: [Errno 111] Connection refused
01/04/2016 18:43:01 315327 msgs recv’d from dump1090 (141 in last 5m); 315240 msgs sent to FlightAware
01/04/2016 18:43:12 mlat(23053): Connection to localhost:30005 lost: [Errno 111] Connection refused
01/04/2016 18:43:12 mlat(23053): Reconnecting in 30.0 seconds
01/04/2016 18:43:13 mlat(23053): Beast-format results connection with localhost:30104: [Errno 111] Connection refused
01/04/2016 18:43:40 no ADS-B data program seen listening on port 30005 for 301 seconds, next check in 60s
01/04/2016 18:43:42 mlat(23053): Connection to localhost:30005 lost: [Errno 111] Connection refused
01/04/2016 18:43:42 mlat(23053): Reconnecting in 30.0 seconds
01/04/2016 18:43:43 mlat(23053): Beast-format results connection with localhost:30104: [Errno 111] Connection refused
01/04/2016 18:44:12 mlat(23053): Connection to localhost:30005 lost: [Errno 111] Connection refused
01/04/2016 18:44:12 mlat(23053): Reconnecting in 30.0 seconds
01/04/2016 18:44:13 mlat(23053): Beast-format results connection with localhost:30104: [Errno 111] Connection refused
01/04/2016 18:44:40 no ADS-B data program seen listening on port 30005 for 361 seconds, trying to start it…
01/04/2016 18:44:40 attempting to start fadump1090.sh using ‘invoke-rc.d fadump1090.sh start’…
Starting dump1090 server: dump1090001/04/2016 18:44:40 dump1090 start appears to have been successful
01/04/2016 18:44:42 mlat(23053): Input connected to localhost:30005
01/04/2016 18:44:44 mlat(23053): Beast-format results connection with localhost:30104: connection established
01/04/2016 18:44:50 ADS-B data program ‘dump1090’ is listening on port 30005, so far so good
01/04/2016 18:44:50 Starting faup1090: /usr/lib/piaware/helpers/faup1090 --net-bo-ipaddr localhost --net-bo-port 30005 --stdout --lat 48.360 --lon 8.971
01/04/2016 18:44:50 Started faup1090 (pid 13448) to connect to dump1090
01/04/2016 18:48:01 316056 msgs recv’d from dump1090 (729 in last 5m); 315969 msgs sent to FlightAware
01/04/2016 18:53:01 317105 msgs recv’d from dump1090 (1049 in last 5m); 317018 msgs sent to FlightAware
01/04/2016 18:56:53 mlat(23053): Receiver status: connected
01/04/2016 18:56:53 mlat(23053): Server status: synchronized with 39 nearby receivers
01/04/2016 18:56:53 mlat(23053): Receiver: 360.9 msg/s received 6.5kB/s from receiver
01/04/2016 18:56:53 mlat(23053): Server: 0.4 kB/s from server 0.0kB/s TCP to server 0.9kB/s UDP to server
01/04/2016 18:56:53 mlat(23053): Results: 174.3 positions/minute
01/04/2016 18:56:53 mlat(23053): Aircraft: 12 of 17 Mode S, 30 of 55 ADS-B used
Like I said before, never had this kind of problem before updating to Piaware 2.1-5. It occured to me, because I now can see it clearly (small drops) in my graphs of the CPU-load and network traffic.
Regards,
Kabuse