Hey guys,
I recently moved across town in London. I used to be in a basement flat near Heathrow and now am on a 7th floor flat nearer London City. When I plugged in my pi I was AMAZED at how much more my piaware setup sees.
See this map: I can hear Belgium! Before this I couldn’t barely hear outside the M25.
So that’s the good news.
The bad news is that I can’t seem to keep my pi running reliably anymore. Either the wifi connection will drop, or dump1090 will crash and not restart. I can’t tell if the two are correlated or not, but today the wifi seems to be staying on so I can see that dump1090 isn’t running.
Because I haven’t changed a single thing with the software I can only think of two likely scenarios:
-
My pi is now getting overworked because of the huge increase in the number of positions reported and eventually crashing. CPU usage seems to hover around 40-50% so that should be fine, but maybe it spikes when I’m not looking?
-
My new flat is older than my previous and doesn’t have a reliable power socket. This seems less likely but it could be a power issue?
I’d like to try and debug why this is happening but I can’t seem to find any log files that will help me. Are there any?
This is the output from the log on my adsb page on flightaware.com:
[2015-07-03 10:19 BST] 27358 msgs recv'd from dump1090 (929 in last 5m); 25844 msgs sent to FlightAware
[2015-07-03 10:24 BST] 28216 msgs recv'd from dump1090 (858 in last 5m); 26702 msgs sent to FlightAware
[2015-07-03 10:29 BST] 29184 msgs recv'd from dump1090 (968 in last 5m); 27670 msgs sent to FlightAware
[2015-07-03 10:34 BST] 30223 msgs recv'd from dump1090 (1039 in last 5m); 28709 msgs sent to FlightAware
[2015-07-03 10:39 BST] 31436 msgs recv'd from dump1090 (1213 in last 5m); 29922 msgs sent to FlightAware
[2015-07-03 10:44 BST] 31676 msgs recv'd from dump1090 (240 in last 5m); 30162 msgs sent to FlightAware
[2015-07-03 10:48 BST] seconds since last message or startup (505) less than threshold for action (3600), waiting...
[2015-07-03 10:48 BST] dump1090 is listening for connections on FA-style port 10001
[2015-07-03 10:49 BST] 31676 msgs recv'd from dump1090 (0 in last 5m); 30162 msgs sent to FlightAware
[2015-07-03 10:53 BST] seconds since last message or startup (805) less than threshold for action (3600), waiting...
[2015-07-03 10:53 BST] dump1090 is listening for connections on FA-style port 10001
[2015-07-03 10:54 BST] 31676 msgs recv'd from dump1090 (0 in last 5m); 30162 msgs sent to FlightAware
[2015-07-03 10:58 BST] seconds since last message or startup (1105) less than threshold for action (3600), waiting...
[2015-07-03 10:58 BST] dump1090 is listening for connections on FA-style port 10001
[2015-07-03 10:59 BST] 31676 msgs recv'd from dump1090 (0 in last 5m); 30162 msgs sent to FlightAware
[2015-07-03 11:01 BST] multilateration support enabled (use piaware-config to disable)
[2015-07-03 11:01 BST] multilateration data requested, enabling mlat client
[2015-07-03 11:01 BST] Starting multilateration client: /usr/lib/fa-mlat-client/fa-mlat-client --input-host localhost --input-port 30005 --udp-transport 70.42.6.194:8822:319331504
[2015-07-03 11:01 BST] mlat(2814): fa-mlat-client 0.2.1 starting up
[2015-07-03 11:01 BST] mlat(2814): Using UDP transport to 70.42.6.194:8822
[2015-07-03 11:01 BST] mlat(2814): Input connected to localhost:30005
[2015-07-03 11:03 BST] seconds since last message or startup (1405) less than threshold for action (3600), waiting...
[2015-07-03 11:03 BST] dump1090 is listening for connections on FA-style port 10001
[2015-07-03 11:04 BST] mlat(2814): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 11:04 BST] mlat(2814): Input connected to localhost:30005
[2015-07-03 11:04 BST] 31676 msgs recv'd from dump1090 (0 in last 5m); 30162 msgs sent to FlightAware
[2015-07-03 11:06 BST] mlat(2814): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 11:06 BST] mlat(2814): Input connected to localhost:30005
[2015-07-03 11:08 BST] seconds since last message or startup (1705) less than threshold for action (3600), waiting...
[2015-07-03 11:08 BST] dump1090 is listening for connections on FA-style port 10001
[2015-07-03 11:09 BST] mlat(2814): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 11:09 BST] mlat(2814): Input connected to localhost:30005
[2015-07-03 11:09 BST] 31676 msgs recv'd from dump1090 (0 in last 5m); 30162 msgs sent to FlightAware
[2015-07-03 11:11 BST] mlat(2814): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 11:11 BST] mlat(2814): Input connected to localhost:30005
[2015-07-03 11:13 BST] seconds since last message or startup (2005) less than threshold for action (3600), waiting...
[2015-07-03 11:13 BST] dump1090 is listening for connections on FA-style port 10001
[2015-07-03 11:14 BST] mlat(2814): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 11:14 BST] mlat(2814): Input connected to localhost:30005
[2015-07-03 11:14 BST] 31676 msgs recv'd from dump1090 (0 in last 5m); 30162 msgs sent to FlightAware
[2015-07-03 11:16 BST] mlat(2814): Receiver connection: ready
[2015-07-03 11:16 BST] mlat(2814): Server connection: ready
[2015-07-03 11:16 BST] mlat(2814): Receiver: 0.0 msg/s received 0.0kB/s from receiver
[2015-07-03 11:16 BST] mlat(2814): Server: 0.0 kB/s from server 0.0kB/s TCP to server 0.0kB/s UDP to server
[2015-07-03 11:16 BST] mlat(2814): Aircraft: 0 known, 0 requested by server
[2015-07-03 11:16 BST] mlat(2814): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 11:16 BST] mlat(2814): Input connected to localhost:30005
[2015-07-03 11:18 BST] seconds since last message or startup (2305) less than threshold for action (3600), waiting...
[2015-07-03 11:18 BST] dump1090 is listening for connections on FA-style port 10001
[2015-07-03 11:19 BST] 31676 msgs recv'd from dump1090 (0 in last 5m); 30162 msgs sent to FlightAware
[2015-07-03 11:19 BST] mlat(2814): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 11:19 BST] mlat(2814): Input connected to localhost:30005
[2015-07-03 11:22 BST] mlat(2814): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 11:22 BST] mlat(2814): Input connected to localhost:30005
[2015-07-03 11:22 BST] manual update (user-initiated via their flightaware control page) requested by adept server
[2015-07-03 11:22 BST] manualUpdate is not set in adept config, looking further...
[2015-07-03 11:22 BST] manualUpdate in /etc/piaware is enabled, allowing update
[2015-07-03 11:22 BST] performing manual update, action: reboot
[2015-07-03 11:22 BST] rebooting...
[2015-07-03 11:22 BST] update request complete
[2015-07-03 11:22 BST] mlat(2814): Lost connection to localhost:30005
[2015-07-03 11:22 BST] mlat(2814): Reconnecting in 30.0 seconds
[2015-07-03 11:22 BST] lost connection to faup1090, reconnecting...
[2015-07-03 11:22 BST] no ADS-B data program is serving on port 30005, next check in 60s
[2015-07-03 11:22 BST] piaware (process 2307) is shutting down because it received a shutdown signal (SIGTERM) from the system...
[2015-07-03 11:22 BST] stop_faup1090: no need to stop faup1090, it's not running
[2015-07-03 11:22 BST] multilateration data no longer required, disabling mlat client
[2015-07-03 11:22 BST] piaware (process 2307) is exiting...
[2015-07-03 11:23 BST] autoUpdate is not set in adept config, looking further...
[2015-07-03 11:23 BST] autoUpdate in /etc/piaware is enabled, allowing update
[2015-07-03 11:23 BST] manualUpdate is not set in adept config, looking further...
[2015-07-03 11:23 BST] manualUpdate in /etc/piaware is enabled, allowing update
[2015-07-03 11:23 BST] multilateration support enabled (use piaware-config to disable)
[2015-07-03 11:23 BST] ADS-B data program 'dump1090' is listening on port 30005, so far so good
[2015-07-03 11:23 BST] i see dump1090 serving on port 10001
[2015-07-03 11:23 BST] connecting to dump1090 on port 10001...
[2015-07-03 11:23 BST] piaware is connected to dump1090 on port 10001
[2015-07-03 11:23 BST] dump1090 is listening for connections on FA-style port 10001
[2015-07-03 11:23 BST] multilateration support enabled (use piaware-config to disable)
[2015-07-03 11:23 BST] multilateration data requested, enabling mlat client
[2015-07-03 11:23 BST] Starting multilateration client: /usr/lib/fa-mlat-client/fa-mlat-client --input-host localhost --input-port 30005 --udp-transport 70.42.6.194:9121:675142748
[2015-07-03 11:23 BST] mlat(2515): fa-mlat-client 0.2.1 starting up
[2015-07-03 11:23 BST] mlat(2515): Using UDP transport to 70.42.6.194:9121
[2015-07-03 11:23 BST] mlat(2515): Input connected to localhost:30005
[2015-07-03 11:23 BST] 44 msgs recv'd from dump1090; 9 msgs sent to FlightAware
[2015-07-03 11:28 BST] 1121 msgs recv'd from dump1090 (1077 in last 5m); 1086 msgs sent to FlightAware
[2015-07-03 11:33 BST] 1997 msgs recv'd from dump1090 (876 in last 5m); 1962 msgs sent to FlightAware
[2015-07-03 11:38 BST] mlat(2515): Receiver connection: ready
[2015-07-03 11:38 BST] mlat(2515): Server connection: ready
[2015-07-03 11:38 BST] mlat(2515): Receiver: 223.4 msg/s received 4.1kB/s from receiver
[2015-07-03 11:38 BST] mlat(2515): Server: 0.0 kB/s from server 0.0kB/s TCP to server 0.9kB/s UDP to server
[2015-07-03 11:38 BST] mlat(2515): Aircraft: 63 known, 50 requested by server
[2015-07-03 11:38 BST] 2960 msgs recv'd from dump1090 (963 in last 5m); 2925 msgs sent to FlightAware
[2015-07-03 11:43 BST] 4135 msgs recv'd from dump1090 (1175 in last 5m); 4100 msgs sent to FlightAware
[2015-07-03 11:48 BST] 5299 msgs recv'd from dump1090 (1164 in last 5m); 5264 msgs sent to FlightAware
[2015-07-03 11:53 BST] mlat(2515): Receiver connection: ready
[2015-07-03 11:53 BST] mlat(2515): Server connection: ready
[2015-07-03 11:53 BST] mlat(2515): Receiver: 270.4 msg/s received 4.9kB/s from receiver
[2015-07-03 11:53 BST] mlat(2515): Server: 0.1 kB/s from server 0.0kB/s TCP to server 1.1kB/s UDP to server
[2015-07-03 11:53 BST] mlat(2515): Aircraft: 78 known, 62 requested by server
[2015-07-03 11:53 BST] 6479 msgs recv'd from dump1090 (1180 in last 5m); 6444 msgs sent to FlightAware
[2015-07-03 11:58 BST] 7605 msgs recv'd from dump1090 (1126 in last 5m); 7570 msgs sent to FlightAware
[2015-07-03 12:03 BST] 8589 msgs recv'd from dump1090 (984 in last 5m); 8554 msgs sent to FlightAware
[2015-07-03 12:08 BST] mlat(2515): Receiver connection: ready
[2015-07-03 12:08 BST] mlat(2515): Server connection: ready
[2015-07-03 12:08 BST] mlat(2515): Receiver: 261.5 msg/s received 4.7kB/s from receiver
[2015-07-03 12:08 BST] mlat(2515): Server: 0.1 kB/s from server 0.0kB/s TCP to server 1.4kB/s UDP to server
[2015-07-03 12:08 BST] mlat(2515): Aircraft: 68 known, 52 requested by server
[2015-07-03 12:08 BST] 9650 msgs recv'd from dump1090 (1061 in last 5m); 9615 msgs sent to FlightAware
[2015-07-03 12:13 BST] 10729 msgs recv'd from dump1090 (1079 in last 5m); 10694 msgs sent to FlightAware
[2015-07-03 12:18 BST] mlat(2515): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 12:18 BST] mlat(2515): Input connected to localhost:30005
[2015-07-03 12:18 BST] 11113 msgs recv'd from dump1090 (384 in last 5m); 11078 msgs sent to FlightAware
[2015-07-03 12:20 BST] mlat(2515): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 12:20 BST] mlat(2515): Input connected to localhost:30005
[2015-07-03 12:23 BST] mlat(2515): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 12:23 BST] mlat(2515): Input connected to localhost:30005
[2015-07-03 12:23 BST] seconds since last message or startup (455) less than threshold for action (3600), waiting...
[2015-07-03 12:23 BST] dump1090 is listening for connections on FA-style port 10001
[2015-07-03 12:23 BST] mlat(2515): Receiver connection: ready
[2015-07-03 12:23 BST] mlat(2515): Server connection: ready
[2015-07-03 12:23 BST] mlat(2515): Receiver: 111.9 msg/s received 2.0kB/s from receiver
[2015-07-03 12:23 BST] mlat(2515): Server: 0.1 kB/s from server 0.0kB/s TCP to server 0.5kB/s UDP to server
[2015-07-03 12:23 BST] mlat(2515): Aircraft: 0 known, 34 requested by server
[2015-07-03 12:23 BST] 11113 msgs recv'd from dump1090 (0 in last 5m); 11078 msgs sent to FlightAware
[2015-07-03 12:25 BST] mlat(2515): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 12:25 BST] mlat(2515): Input connected to localhost:30005
[2015-07-03 12:28 BST] mlat(2515): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 12:28 BST] mlat(2515): Input connected to localhost:30005
[2015-07-03 12:28 BST] seconds since last message or startup (755) less than threshold for action (3600), waiting...
[2015-07-03 12:28 BST] dump1090 is listening for connections on FA-style port 10001
[2015-07-03 12:28 BST] 11113 msgs recv'd from dump1090 (0 in last 5m); 11078 msgs sent to FlightAware
[2015-07-03 12:30 BST] mlat(2515): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 12:30 BST] mlat(2515): Input connected to localhost:30005
[2015-07-03 12:33 BST] mlat(2515): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 12:33 BST] mlat(2515): Input connected to localhost:30005
[2015-07-03 12:33 BST] seconds since last message or startup (1055) less than threshold for action (3600), waiting...
[2015-07-03 12:33 BST] dump1090 is listening for connections on FA-style port 10001
[2015-07-03 12:33 BST] 11113 msgs recv'd from dump1090 (0 in last 5m); 11078 msgs sent to FlightAware
[2015-07-03 12:35 BST] mlat(2515): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 12:35 BST] mlat(2515): Input connected to localhost:30005
[2015-07-03 12:38 BST] seconds since last message or startup (1355) less than threshold for action (3600), waiting...
[2015-07-03 12:38 BST] dump1090 is listening for connections on FA-style port 10001
[2015-07-03 12:38 BST] mlat(2515): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 12:38 BST] mlat(2515): Input connected to localhost:30005
[2015-07-03 12:38 BST] mlat(2515): Receiver connection: ready
[2015-07-03 12:38 BST] mlat(2515): Server connection: ready
[2015-07-03 12:38 BST] mlat(2515): Receiver: 0.0 msg/s received 0.0kB/s from receiver
[2015-07-03 12:38 BST] mlat(2515): Server: 0.0 kB/s from server 0.0kB/s TCP to server 0.0kB/s UDP to server
[2015-07-03 12:38 BST] mlat(2515): Aircraft: 0 known, 34 requested by server
[2015-07-03 12:38 BST] 11113 msgs recv'd from dump1090 (0 in last 5m); 11078 msgs sent to FlightAware
[2015-07-03 12:40 BST] mlat(2515): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 12:40 BST] mlat(2515): Input connected to localhost:30005
[2015-07-03 12:43 BST] seconds since last message or startup (1655) less than threshold for action (3600), waiting...
[2015-07-03 12:43 BST] dump1090 is listening for connections on FA-style port 10001
[2015-07-03 12:43 BST] mlat(2515): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 12:43 BST] mlat(2515): Input connected to localhost:30005
[2015-07-03 12:43 BST] 11113 msgs recv'd from dump1090 (0 in last 5m); 11078 msgs sent to FlightAware
[2015-07-03 12:45 BST] mlat(2515): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 12:45 BST] mlat(2515): Input connected to localhost:30005
[2015-07-03 12:48 BST] seconds since last message or startup (1955) less than threshold for action (3600), waiting...
[2015-07-03 12:48 BST] dump1090 is listening for connections on FA-style port 10001
[2015-07-03 12:48 BST] mlat(2515): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 12:48 BST] mlat(2515): Input connected to localhost:30005
[2015-07-03 12:48 BST] 11113 msgs recv'd from dump1090 (0 in last 5m); 11078 msgs sent to FlightAware
[2015-07-03 12:50 BST] mlat(2515): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 12:50 BST] mlat(2515): Input connected to localhost:30005
[2015-07-03 12:53 BST] seconds since last message or startup (2255) less than threshold for action (3600), waiting...
[2015-07-03 12:53 BST] dump1090 is listening for connections on FA-style port 10001
[2015-07-03 12:53 BST] mlat(2515): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 12:53 BST] mlat(2515): Input connected to localhost:30005
[2015-07-03 12:53 BST] mlat(2515): Receiver connection: ready
[2015-07-03 12:53 BST] mlat(2515): Server connection: ready
[2015-07-03 12:53 BST] mlat(2515): Receiver: 0.0 msg/s received 0.0kB/s from receiver
[2015-07-03 12:53 BST] mlat(2515): Server: 0.0 kB/s from server 0.0kB/s TCP to server 0.0kB/s UDP to server
[2015-07-03 12:53 BST] mlat(2515): Aircraft: 0 known, 34 requested by server
[2015-07-03 12:53 BST] 11113 msgs recv'd from dump1090 (0 in last 5m); 11078 msgs sent to FlightAware
[2015-07-03 12:55 BST] mlat(2515): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 12:55 BST] mlat(2515): Input connected to localhost:30005
[2015-07-03 12:58 BST] seconds since last message or startup (2555) less than threshold for action (3600), waiting...
[2015-07-03 12:58 BST] dump1090 is listening for connections on FA-style port 10001
[2015-07-03 12:58 BST] mlat(2515): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 12:58 BST] mlat(2515): Input connected to localhost:30005
[2015-07-03 12:58 BST] 11113 msgs recv'd from dump1090 (0 in last 5m); 11078 msgs sent to FlightAware
[2015-07-03 13:00 BST] mlat(2515): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 13:00 BST] mlat(2515): Input connected to localhost:30005
[2015-07-03 13:03 BST] seconds since last message or startup (2855) less than threshold for action (3600), waiting...
[2015-07-03 13:03 BST] dump1090 is listening for connections on FA-style port 10001
[2015-07-03 13:03 BST] mlat(2515): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 13:03 BST] mlat(2515): Input connected to localhost:30005
[2015-07-03 13:03 BST] 11113 msgs recv'd from dump1090 (0 in last 5m); 11078 msgs sent to FlightAware
[2015-07-03 13:05 BST] mlat(2515): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 13:05 BST] mlat(2515): Input connected to localhost:30005
[2015-07-03 13:08 BST] seconds since last message or startup (3155) less than threshold for action (3600), waiting...
[2015-07-03 13:08 BST] dump1090 is listening for connections on FA-style port 10001
[2015-07-03 13:08 BST] mlat(2515): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 13:08 BST] mlat(2515): Input connected to localhost:30005
[2015-07-03 13:08 BST] mlat(2515): Receiver connection: ready
[2015-07-03 13:08 BST] mlat(2515): Server connection: ready
[2015-07-03 13:08 BST] mlat(2515): Receiver: 0.0 msg/s received 0.0kB/s from receiver
[2015-07-03 13:08 BST] mlat(2515): Server: 0.0 kB/s from server 0.0kB/s TCP to server 0.0kB/s UDP to server
[2015-07-03 13:08 BST] mlat(2515): Aircraft: 0 known, 34 requested by server
[2015-07-03 13:08 BST] 11113 msgs recv'd from dump1090 (0 in last 5m); 11078 msgs sent to FlightAware
[2015-07-03 13:10 BST] mlat(2515): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 13:10 BST] mlat(2515): Input connected to localhost:30005
[2015-07-03 13:13 BST] seconds since last message or startup (3455) less than threshold for action (3600), waiting...
[2015-07-03 13:13 BST] dump1090 is listening for connections on FA-style port 10001
[2015-07-03 13:13 BST] mlat(2515): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 13:13 BST] mlat(2515): Input connected to localhost:30005
[2015-07-03 13:13 BST] 11113 msgs recv'd from dump1090 (0 in last 5m); 11078 msgs sent to FlightAware
[2015-07-03 13:15 BST] mlat(2515): Disconnecting from localhost:30005: No data (not even keepalives) received for 150 seconds
[2015-07-03 13:15 BST] mlat(2515): Input connected to localhost:30005