-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unstable clock causing MLAT problems. #66
Comments
Usually you would need an NTP client like Chrony installed. I am not sure if that is installed via the script dietpi installation I tried seeing what is running on my image, but I am not sure... (I am using a raspberry pi, and the raspios adsb.im image)
(^ This is probably something for @dirkhh to look at) |
There is an NTP client built into Dietpi similar to raspi, date/time was the first thing I checked. I am not sure but I think it is associated with clock jitter or drift, I have seen mention of correction factor in some sites to correct for that. |
You are right, it is You can check if it is running via |
In the default DietPi install timesync runs only once a day. You need to change it to "mode 4" where it more frequently checks the drift and adjusts |
I have changed it to "Mode 4" and NTP server to my region but no change, still the identical problem as before. |
Well - I don't know what to tell you. MLAT is working on several of your containers. You have a sufficiently well running NTP implementation (it's what I use on all but one of my feeders). So the only explanation that I have for the unstable clock issue would be if either CPU or memory are overloaded on your RPi3b. When under DietPi, are you running other apps? I have an RPi3a (same CPU, half the RAM) running here with both 1090 and UAT978, feeding FA and RB with no issues. However, if I add a few more aggregator, the system starts running out of memory and I see MLAT issues. |
It is a fresh, clean minimal install using the latest Dietpi image. RAM usage is 542/960Mb and CPU load average is low. Not running anything else. I observed that MLAT worked correctly for about 5 minutes after a reboot then drops off on those two aggregators with unstable clock errors, I suspect this is due to clock drift but the clock is set as per your suggestion and does update on reboot. CPU is running at default speed of 1400MHz. No matter, this was an exercise to see how well it works and I have my original SD card to go back to. I appreciate your help, thank you. |
I think we can close this issue, it is not this program causing it. I believe that it may be due to USB data jitter and unrelated to the system time. My Pi3 is simply running out of resources, my Pi4 is working perfectly well with identical software and settings. |
Equipment: Raspberry Pi3b+ running DietPi Bookworm and ADSB Software App. Issue happens on latest V1.0.0
I think I may have found a problem with intermittent MLAT on RadarBox, I also have an MLAT error with FlightAware. "Local clock source is unstable", I had a red tick on the status page for that so looked deeper.
I have gone back to my original SD card running on a ADSBexchange image and everything is back to normal with both those aggregators so will stay on that for now. I wouldn't know where to start finding the cause of an unstable timing problem in the docker build as I am not very experienced in Linux.
Regards, Tony
![Error 01](https://private-user-images.githubusercontent.com/141224518/276892774-5dc579d7-987d-4dbb-a393-c8b83e5ecc68.JPG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA4NTg3OTcsIm5iZiI6MTcyMDg1ODQ5NywicGF0aCI6Ii8xNDEyMjQ1MTgvMjc2ODkyNzc0LTVkYzU3OWQ3LTk4N2QtNGRiYi1hMzkzLWM4YjgzZTVlY2M2OC5KUEc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxM1QwODE0NTdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01YWFhM2E4MTI5OTBhMWIzOThlZDEzZDJjZmVjN2NhYjZiODJhNGFjNzNlZjNkOWRmNjMzOTUzYzJmN2Y2NWQyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.sAH25iiBBwbdYCsqkjcX3nQjKjOylPKnTpu9oInN8Rg)
![Error 02](https://private-user-images.githubusercontent.com/141224518/276892782-51527351-8da8-43ea-9b80-2522244a2805.JPG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA4NTg3OTcsIm5iZiI6MTcyMDg1ODQ5NywicGF0aCI6Ii8xNDEyMjQ1MTgvMjc2ODkyNzgyLTUxNTI3MzUxLThkYTgtNDNlYS05YjgwLTI1MjIyNDRhMjgwNS5KUEc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxM1QwODE0NTdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02MTBlNDljZTdlYzIxMjcwM2FmMDFiZmY1NjUwNTc2NTQwNTczYTM4YmJmMWI0OWYzOWQyNjY5NjRlMTQ2ZTA1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Adf_IInux0-mSWATBSJRFRw3lU6yMRz_eJf9iEcGJs0)
The text was updated successfully, but these errors were encountered: