{"action":"created","issue":{"url":"https://api.github.com/repos/Ysurac/FlightAirMap/issues/195","repository_url":"https://api.github.com/repos/Ysurac/FlightAirMap","labels_url":"https://api.github.com/repos/Ysurac/FlightAirMap/issues/195/labels{/name}","comments_url":"https://api.github.com/repos/Ysurac/FlightAirMap/issues/195/comments","events_url":"https://api.github.com/repos/Ysurac/FlightAirMap/issues/195/events","html_url":"https://github.com/Ysurac/FlightAirMap/issues/195","id":165408928,"number":195,"title":"How to debug daemon-spotter.php issue?","user":{"login":"Spog99","id":19764119,"avatar_url":"https://avatars.githubusercontent.com/u/19764119?v=3","gravatar_id":"","url":"https://api.github.com/users/Spog99","html_url":"https://github.com/Spog99","followers_url":"https://api.github.com/users/Spog99/followers","following_url":"https://api.github.com/users/Spog99/following{/other_user}","gists_url":"https://api.github.com/users/Spog99/gists{/gist_id}","starred_url":"https://api.github.com/users/Spog99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spog99/subscriptions","organizations_url":"https://api.github.com/users/Spog99/orgs","repos_url":"https://api.github.com/users/Spog99/repos","events_url":"https://api.github.com/users/Spog99/events{/privacy}","received_events_url":"https://api.github.com/users/Spog99/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-13T20:04:04Z","updated_at":"2016-07-14T04:53:05Z","closed_at":null,"body":"Hi,\r\nI'm running FlightAirMap on a RPI3 feeding acars data from RTLSDR and ADSB data from SBS3 all works fantastically well but occasionally daemon-spotter.php hangs and I need to kill th eprocess and restart to getting processing messages. Is there a way to debug why it hangs? I live within 10 miles of LGW and problem seems to occur around 1400 when traffic peaks, but it never does it when I'm monitoring.\r\nHere's a screenshot of daemon-spotter.php when its hung. See the speed calculation has gone bad.\r\nAny other logs/debug I can check?\r\n\r\nThanks in advance\r\nChris...\r\n\r\nTime : 57s - Distance : 25138m -Speed : 1587.6631578947 km/h - Lat : 51.92798 - long : -0.56602 - prev lat : 51.88889 - prev long : -0.92697 \r\n!!! Too much distance in short time... for RYR808\r\nTime : 57s - Distance : 25229m -Speed : 1593.4105263158 km/h - Lat : 51.92809 - long : -0.56470 - prev lat : 51.88889 - prev long : -0.92697 \r\n!!! Too much distance in short time... for RYR77QF\r\nTime : 118s - Distance : 61554m -Speed : 1877.9186440678 km/h - Lat : 52.17761 - long : -1.22513 - prev lat : 52.66706 - prev long : -1.64928 \r\n!!! Too much distance in short time... for RYR86QQ\r\nTime : 113s - Distance : 73884m -Speed : 2353.8265486726 km/h - Lat : 50.73907 - long : 1.51552 - prev lat : 50.23466 - prev long : 2.19539 \r\n!!! Too much distance in short time... for LZB852\r\nTime : 62s - Distance : 39048m -Speed : 2267.3032258065 km/h - Lat : 51.16640 - long : 0.55046 - prev lat : 51.18386 - prev long : -0.00900 \r\n!!! Too much distance in short time... for MPH6122\r\nTime : 58s - Distance : 30366m -Speed : 1884.7862068966 km/h - Lat : 51.57746 - long : -0.22911 - prev lat : 51.32719 - prev long : -0.40451 \r\n!!! Too much distance in short time... for KLM\r\nTime : 121s - Distance : 69868m -Speed : 2078.7173553719 km/h - Lat : 51.68381 - long : 0.62258 - prev lat : 51.75279 - prev long : 1.63073 \r\n!!! Too much distance in short time... for IBK2907\r\nTime : 124s - Distance : 60368m -Speed : 1752.6193548387 km/h - Lat : 50.97093 - long : 0.83397 - prev lat : 51.40915 - prev long : 1.34538 \r\n!!! Date previous latest data !!!\r\n!!! Date previous latest data !!!\r\n!!! Date previous latest data !!!\r\n!!! Date previous latest data !!!\r\n!!! Date previous latest data !!!\r\n!!! Date previous latest data !!!\r\n!!! Date previous latest data !!!\r\n!!! Date previous latest data !!!\r\n!!! Date previous latest data !!!\r\n!!! Date previous latest data !!!\r\n!!! Date previous latest data !!!\r\n!!! Date previous latest data !!!\r\n!!! Date previous latest data !!!\r\n!!! Date previous latest data !!!\r\n!!! Date previous latest data !!!\r\n!!! Date previous latest data !!!\r\n!!! Too much distance in short time... for EZY45WK\r\nTime : 60s - Distance : 26590m -Speed : 1595.4 km/h - Lat : 51.97293 - long : -0.61363 - prev lat : 52.04416 - prev long : -0.98450 \r\n!!! Date previous latest data !!!\r\n!!! Too much distance in short time... for EIN386\r\nTime : 107s - Distance : 45707m -Speed : 1537.8056074766 km/h - Lat : 51.30522 - long : -0.45578 - prev lat : 51.31279 - prev long : -1.11326 \r\n!!! Too much distance in short time... for LHB1\r\nTime : 46s - Distance : 25921m -Speed : 2028.6 km/h - Lat : 51.18315 - long : -0.21060 - prev lat : 51.01674 - prev long : -0.47058 \r\n!!! Too much distance in short time... for LHB1\r\nTime : 46s - Distance : 26001m -Speed : 2034.8608695652 km/h - Lat : 51.18356 - long : -0.20963 - prev lat : 51.01674 - prev long : -0.47058 \r\n!!! Too much distance in short time... for DLH3NH\r\nTime : 124s - Distance : 79790m -Speed : 2316.4838709677 km/h - Lat : 51.47798 - long : -0.64758 - prev lat : 52.09126 - prev long : -1.24992 \r\n!!! Too much distance in short time... for DAL3\r\nTime : 59s - Distance : 36059m -Speed : 2200.2101694915 km/h - Lat : 51.60562 - long : -1.67381 - prev lat : 51.52203 - prev long : -1.16975 \r\n!!! Too much distance in short time... for DAL3\r\nTime : 59s - Distance : 36184m -Speed : 2207.8372881356 km/h - Lat : 51.60590 - long : -1.67557 - prev lat : 51.52203 - prev long : -1.16975 \r\n!!! Too much distance in short time... for BAW8WE\r\nTime : 118s - Distance : 67859m -Speed : 2070.2745762712 km/h - Lat : 51.10812 - long : 1.46568 - prev lat : 51.15697 - prev long : 0.49624 \r\n!!! Too much distance in short time... for BAW375\r\nTime : 110s - Distance : 50139m -Speed : 1640.9127272727 km/h - Lat : 51.05086 - long : -0.90302 - prev lat : 50.63525 - prev long : -1.18009 \r\n!!! Too much distance in short time... for BAW375\r\nTime : 110s - Distance : 50190m -Speed : 1642.5818181818 km/h - Lat : 51.05119 - long : -0.90240 - prev lat : 50.63525 - prev long : -1.18009 \r\n!!! Too much distance in short time... for SHT9G\r\nTime : 49s - Distance : 23571m -Speed : 1731.7469387755 km/h - Lat : 51.87634 - long : -1.13345 - prev lat : 52.06023 - prev long : -1.30463 \r\n!!! Too much distance in short time... for AAL107\r\nTime : 52s - Distance : 22899m -Speed : 1585.3153846154 km/h - Lat : 51.50533 - long : -1.01802 - prev lat : 51.45717 - prev long : -0.69649 \r\n!!! Too much distance in short time... for TWB302D\r\nTime : 122s - Distance : 84193m -Speed : 2484.3836065574 km/h - Lat : 51.32961 - long : 0.27443 - prev lat : 51.78359 - prev long : -0.70030 \r\nNot a message. Ignoring... \r\npi@raspberrypi:/var/www/FlightAirMap/scripts $ sudo php -f daemon-spotter.php\r\n"},"comment":{"url":"https://api.github.com/repos/Ysurac/FlightAirMap/issues/comments/232556201","html_url":"https://github.com/Ysurac/FlightAirMap/issues/195#issuecomment-232556201","issue_url":"https://api.github.com/repos/Ysurac/FlightAirMap/issues/195","id":232556201,"user":{"login":"Ysurac","id":6342954,"avatar_url":"https://avatars.githubusercontent.com/u/6342954?v=3","gravatar_id":"","url":"https://api.github.com/users/Ysurac","html_url":"https://github.com/Ysurac","followers_url":"https://api.github.com/users/Ysurac/followers","following_url":"https://api.github.com/users/Ysurac/following{/other_user}","gists_url":"https://api.github.com/users/Ysurac/gists{/gist_id}","starred_url":"https://api.github.com/users/Ysurac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ysurac/subscriptions","organizations_url":"https://api.github.com/users/Ysurac/orgs","repos_url":"https://api.github.com/users/Ysurac/repos","events_url":"https://api.github.com/users/Ysurac/events{/privacy}","received_events_url":"https://api.github.com/users/Ysurac/received_events","type":"User","site_admin":false},"created_at":"2016-07-14T04:53:05Z","updated_at":"2016-07-14T04:53:05Z","body":"150 is not very high. If the source is only SBS, date can't be *previous latest data*, the only case is if system date is changed. You use **ntp** ?"}}
{"actor":{"display_login":"Ysurac"}}