Skip to content
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

update_db hangs/hogs CPU, no more updates on map #14

Open
nRaecheR opened this issue Jun 7, 2021 · 1 comment
Open

update_db hangs/hogs CPU, no more updates on map #14

nRaecheR opened this issue Jun 7, 2021 · 1 comment
Assignees

Comments

@nRaecheR
Copy link
Contributor

nRaecheR commented Jun 7, 2021

After months of using the docker image of docker-flightmap without any seriuous issue, yesterday the installations stopped to work normally.

Flighairmap stoppted responding, only an empty map will be displayed. The damon spotter script hogs one CPU core. Restarting the instance "cures" the problem but after some hours the problem appears again. Every time the problem happens there lines can be found in the docker/podman logs:

[update_db] DB are populated with external data only every 15 days ! Files are not updated more often.
[update_db] Owner are only updated every 15 days.
[update_db] Airlines are only updated every 15 days.
[update_db] Updating accidents...Accidents are updated once a day.
[update_db] updating METAR...Downloading METAR cycle...Done - Updating DB...Done
[update_db] Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] glTF 2.0 Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] Models from FlightAirMap website : Download...Weather Models from FlightAirMap website : Download...Check files...
[update_db] Done

After that, no more lines will be added, no more planes that will be detected.

This is on podman 3.12 with MariaDB 10.6.

@nRaecheR nRaecheR changed the title update_db hangs/hogs CPU, no moreupdates on map update_db hangs/hogs CPU, no more updates on map Jun 7, 2021
@nRaecheR
Copy link
Contributor Author

nRaecheR commented Jun 8, 2021

Seems to be some kind of endless loop and makes the docker container unusable:

[update_db] NOTAM are only updated once a day.
[update_db] DB are populated with external data only every 15 days ! Files are not updated more often.
[update_db] Owner are only updated every 15 days.
[update_db] Airlines are only updated every 15 days.
[update_db] Updating accidents...Accidents are updated once a day.
[update_db] updating METAR...Downloading METAR cycle...Done - Updating DB...Done
[update_db] Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] glTF 2.0 Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] Models from FlightAirMap website : Download...Weather Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] NOTAM are only updated once a day.
[update_db] DB are populated with external data only every 15 days ! Files are not updated more often.
[update_db] Owner are only updated every 15 days.
[update_db] Airlines are only updated every 15 days.
[update_db] Updating accidents...Accidents are updated once a day.
[update_db] updating METAR...Downloading METAR cycle...Done - Updating DB...Done
[update_db] Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] glTF 2.0 Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] Models from FlightAirMap website : Download...Weather Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] NOTAM are only updated once a day.
[update_db] DB are populated with external data only every 15 days ! Files are not updated more often.
[update_db] Owner are only updated every 15 days.
[update_db] Airlines are only updated every 15 days.
[update_db] Updating accidents...Accidents are updated once a day.
[update_db] updating METAR...Downloading METAR cycle...Done - Updating DB...Done
[update_db] Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] glTF 2.0 Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] Models from FlightAirMap website : Download...Weather Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] NOTAM are only updated once a day.
[update_db] DB are populated with external data only every 15 days ! Files are not updated more often.
[update_db] Owner are only updated every 15 days.
[update_db] Airlines are only updated every 15 days.
[update_db] Updating accidents...Accidents are updated once a day.
[update_db] updating METAR...Downloading METAR cycle...Done - Updating DB...Done
[update_db] Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] glTF 2.0 Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] Models from FlightAirMap website : Download...Weather Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] updating NOTAM...NOTAM from FlightAirMap website : Download...No new version.Done
[update_db] DB are populated with external data only every 15 days ! Files are not updated more often.
[update_db] Owner are only updated every 15 days.
[update_db] Airlines are only updated every 15 days.
[update_db] Updating accidents...Import /var/www/flightairmap/htdocs/require/../install/tmp/cr-2021.csv
[update_db] 	Get image for N79RG...Try to find an aircraft image for N79RG...PHP Notice:  Undefined offset: 28 in /var/www/flightairmap/htdocs/require/class.Image.php on line 426
[update_db] Found !
[update_db] 	Done
[update_db] 	Get image for N853L...Try to find an aircraft image for N853L...Found !
[update_db] 	Done
[update_db] 	Get image for D-1656...Try to find an aircraft image for D-1656...PHP Notice:  Undefined offset: 28 in /var/www/flightairmap/htdocs/require/class.Image.php on line 426
[update_db] Found !
[update_db] 	Done
[update_db] 	Get image for F-GKQG...Try to find an aircraft image for F-GKQG...Found !
[update_db] 	Done
[update_db] 	Get image for F-GXJR...Try to find an aircraft image for F-GXJR...Found !
[update_db] 	Done
[update_db] 	Get image for HB-KEH...Try to find an aircraft image for HB-KEH...Found !
[update_db] 	Done
[update_db] updating METAR...Downloading METAR cycle...Done - Updating DB...Done
[update_db] Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] glTF 2.0 Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] Models from FlightAirMap website : Download...Weather Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] NOTAM are only updated once a day.
[update_db] DB are populated with external data only every 15 days ! Files are not updated more often.
[update_db] Owner are only updated every 15 days.
[update_db] Airlines are only updated every 15 days.
[update_db] Updating accidents...Accidents are updated once a day.
[update_db] updating METAR...Downloading METAR cycle...Done - Updating DB...Done
[update_db] Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] glTF 2.0 Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] Models from FlightAirMap website : Download...Weather Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] NOTAM are only updated once a day.
[update_db] DB are populated with external data only every 15 days ! Files are not updated more often.
[update_db] Owner are only updated every 15 days.
[update_db] Airlines are only updated every 15 days.
[update_db] Updating accidents...Accidents are updated once a day.
[update_db] updating METAR...Downloading METAR cycle...Done - Updating DB...Done
[update_db] Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] glTF 2.0 Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] Models from FlightAirMap website : Download...Weather Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] NOTAM are only updated once a day.
[update_db] DB are populated with external data only every 15 days ! Files are not updated more often.
[update_db] Owner are only updated every 15 days.
[update_db] Airlines are only updated every 15 days.
[update_db] Updating accidents...Accidents are updated once a day.
[update_db] updating METAR...Downloading METAR cycle...Done - Updating DB...Done
[update_db] Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] glTF 2.0 Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] Models from FlightAirMap website : Download...Weather Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] NOTAM are only updated once a day.
[update_db] DB are populated with external data only every 15 days ! Files are not updated more often.
[update_db] Owner are only updated every 15 days.
[update_db] Airlines are only updated every 15 days.
[update_db] Updating accidents...Accidents are updated once a day.
[update_db] updating METAR...Downloading METAR cycle...Done - Updating DB...Done
[update_db] Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] glTF 2.0 Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] Models from FlightAirMap website : Download...Weather Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] NOTAM are only updated once a day.
[update_db] DB are populated with external data only every 15 days ! Files are not updated more often.
[update_db] Owner are only updated every 15 days.
[update_db] Airlines are only updated every 15 days.
[update_db] Updating accidents...Accidents are updated once a day.
[update_db] updating METAR...Downloading METAR cycle...Done - Updating DB...Done
[update_db] Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] glTF 2.0 Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] Models from FlightAirMap website : Download...Weather Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] NOTAM are only updated once a day.
[update_db] DB are populated with external data only every 15 days ! Files are not updated more often.
[update_db] Owner are only updated every 15 days.
[update_db] Airlines are only updated every 15 days.
[update_db] Updating accidents...Accidents are updated once a day.
[update_db] updating METAR...Downloading METAR cycle...Done - Updating DB...Done
[update_db] Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] glTF 2.0 Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] Models from FlightAirMap website : Download...Weather Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] NOTAM are only updated once a day.
[update_db] DB are populated with external data only every 15 days ! Files are not updated more often.
[update_db] Owner are only updated every 15 days.
[update_db] Airlines are only updated every 15 days.
[update_db] Updating accidents...Accidents are updated once a day.
[update_db] updating METAR...Downloading METAR cycle...Done - Updating DB...Done
[update_db] Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] glTF 2.0 Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] Models from FlightAirMap website : Download...Weather Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] NOTAM are only updated once a day.
[update_db] DB are populated with external data only every 15 days ! Files are not updated more often.
[update_db] Owner are only updated every 15 days.
[update_db] Airlines are only updated every 15 days.
[update_db] Updating accidents...Accidents are updated once a day.
[update_db] updating METAR...Downloading METAR cycle...Done - Updating DB...Done
[update_db] Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] glTF 2.0 Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] Models from FlightAirMap website : Download...Weather Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] NOTAM are only updated once a day.
[update_db] DB are populated with external data only every 15 days ! Files are not updated more often.
[update_db] Owner are only updated every 15 days.
[update_db] Airlines are only updated every 15 days.
[update_db] Updating accidents...Accidents are updated once a day.
[update_db] updating METAR...Downloading METAR cycle...Done - Updating DB...Done
[update_db] Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] glTF 2.0 Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] Models from FlightAirMap website : Download...Weather Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] NOTAM are only updated once a day.
[update_db] DB are populated with external data only every 15 days ! Files are not updated more often.
[update_db] Owner are only updated every 15 days.
[update_db] Airlines are only updated every 15 days.
[update_db] Updating accidents...Accidents are updated once a day.
[update_db] updating METAR...Downloading METAR cycle...Done - Updating DB...Done
[update_db] Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] glTF 2.0 Models from FlightAirMap website : Download...Check files...
[update_db] Done
[update_db] Models from FlightAirMap website : Download...Weather Models from FlightAirMap website : Download...Check files...
[update_db] Done

@mikenye mikenye self-assigned this Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants