Hello,
We want to run Openroute Service v7.1.1 on preparation
mode in docker, just to pre-build the graphs.
We’ve set services.routing.mode
as preparation
on the json file and it seems that it is actually applied, based on container logs.
We place the config file in /home/ors/ors-conf/ors-config.json
The problem is that the service is not shutdown after graphs are built, as expected.
Should we configure something additional to let it shutdown properly?
2023-11-27 15:04:35 27 Nov 13:04:35 INFO [routing.RoutingProfile] - [1] Edges: 9394911 - Nodes: 8433026.
2023-11-27 15:04:35 27 Nov 13:04:35 INFO [routing.RoutingProfile] - [1] Total time: 244.478s.
2023-11-27 15:04:35 27 Nov 13:04:35 INFO [routing.RoutingProfile] - [1] Finished at: 2023-11-27 13:04:35.
2023-11-27 15:04:35 27 Nov 13:04:35 INFO [routing.RoutingProfileManager] - Graph preparation done.
2023-11-27 15:04:35 27 Nov 13:04:35 INFO [routing.RoutingProfileManager] - Graphs were prepared in 244.512s.
2023-11-27 15:04:35 27 Nov 13:04:35 INFO [routing.RoutingProfileManager] - ====> Recycling garbage...
2023-11-27 15:04:35 27 Nov 13:04:35 INFO [routing.RoutingProfileManager] - Before: Total - 4.89 GB, Free - 1.89 GB, Max: 6 GB, Used - 3.00 GB
2023-11-27 15:04:35 27 Nov 13:04:35 INFO [routing.RoutingProfileManager] - After: Total - 4 GB, Free - 3.97 GB, Max: 6 GB, Used - 34.15 MB
2023-11-27 15:04:35 27 Nov 13:04:35 INFO [routing.RoutingProfileManager] - ========================================================================
2023-11-27 15:04:35 27 Nov 13:04:35 INFO [routing.RoutingProfileManager] - ====> Recycling garbage...
2023-11-27 15:04:35 27 Nov 13:04:35 INFO [routing.RoutingProfileManager] - Before: Total - 4 GB, Free - 3.97 GB, Max: 6 GB, Used - 34.18 MB
2023-11-27 15:04:35 27 Nov 13:04:35 INFO [routing.RoutingProfileManager] - After: Total - 4 GB, Free - 3.97 GB, Max: 6 GB, Used - 34.17 MB
2023-11-27 15:04:35 27 Nov 13:04:35 INFO [routing.RoutingProfileManager] - ========================================================================
2023-11-27 15:04:35 27 Nov 13:04:35 INFO [routing.RoutingProfileManager] - ====> Memory usage by profiles:
2023-11-27 15:04:35 27 Nov 13:04:35 INFO [routing.RoutingProfileManager] - Total: 0 B (0.0%)
2023-11-27 15:04:35 27 Nov 13:04:35 INFO [routing.RoutingProfileManager] - ========================================================================