Hi,
Thanks for the fast answer ! I do want to note that I have not added a custom ors configuration.
Here is the ors.log file:
2021-10-01 07:05:02,391 INFO [ors.Application] - Starting Application v6.6.1 on 04e58f76333a with PID 122 (/usr/local/tomcat/webapps/ors/WEB-INF/classes started by root in /ors-core)
2021-10-01 07:05:02,454 DEBUG [ors.Application] - Running with Spring Boot v2.3.5.RELEASE, Spring v5.2.10.RELEASE
2021-10-01 07:05:02,459 INFO [ors.Application] - No active profile set, falling back to default profiles: default
2021-10-01 07:05:07,709 INFO [ors.Application] - Started Application in 7.079 seconds (JVM running for 15.675)
2021-10-01 07:05:08,011 INFO [routing.RoutingProfileManager] - Total - 1.00 GB, Free - 791.07 MB, Max: 2 GB, Used - 234.93 MB
2021-10-01 07:05:08,019 INFO [routing.RoutingProfileManager] -
2021-10-01 07:05:08,176 INFO [routing.RoutingProfileManager] - ====> Initializing profiles from 'data/osm_file.pbf' (1 threads) ...
2021-10-01 07:05:08,183 INFO [routing.RoutingProfileManager] -
2021-10-01 07:05:08,208 INFO [routing.RoutingProfileManager] -
2021-10-01 07:05:08,315 INFO [routing.RoutingProfile] - [1] Profiles: 'driving-car', location: 'data/graphs/car'.
2021-10-01 07:15:21,914 INFO [core.PrepareCore] - 0, updates:0, nodes: 902 218, shortcuts:0, dijkstras:3 215 591, t(dijk):31.69, t(period):0.0, t(lazy):0.0, t(neighbor):0.0, meanDegree:1, algo:13MB, totalMB:1725, usedMB:1242
2021-10-01 07:17:55,128 INFO [core.PrepareCore] - 180 444, updates:2, nodes: 721 774, shortcuts:2 491, dijkstras:8 893 934, t(dijk):126.35, t(period):137.73, t(lazy):0.0, t(neighbor):11.88, meanDegree:1, algo:13MB, totalMB:1725, usedMB:934
2021-10-01 07:19:55,685 INFO [core.PrepareCore] - 360 888, updates:4, nodes: 541 330, shortcuts:50 650, dijkstras:13 346 352, t(dijk):200.2, t(period):240.15, t(lazy):0.0, t(neighbor):25.86, meanDegree:1, algo:13MB, totalMB:1725, usedMB:1032
2021-10-01 07:22:13,375 INFO [core.PrepareCore] - 541 332, updates:6, nodes: 360 886, shortcuts:250 931, dijkstras:18 126 817, t(dijk):284.32, t(period):317.74, t(lazy):0.0, t(neighbor):70.94, meanDegree:1, algo:13MB, totalMB:1725, usedMB:1167
2021-10-01 07:24:12,763 INFO [core.PrepareCore] - 721 776, updates:8, nodes: 180 442, shortcuts:439 648, dijkstras:22 109 841, t(dijk):356.1, t(period):368.82, t(lazy):0.0, t(neighbor):123.28, meanDegree:1, algo:13MB, totalMB:1725, usedMB:1282
2021-10-01 07:26:54,483 INFO [core.PrepareCore] - took:757, new shortcuts: 715 026, prepare|fastest|car-ors, dijkstras:28258853, t(dijk):451.13, t(period):378.67, t(lazy):15.18, t(neighbor):235.69, meanDegree:5, initSize:902218, periodic:10, lazy:10, neighbor:90, totalMB:1725, usedMB:984
2021-10-01 07:27:55,112 INFO [core.PrepareCore] - 0, updates:0, nodes: 902 218, shortcuts:0, dijkstras:3 215 591, t(dijk):30.32, t(period):0.0, t(lazy):0.0, t(neighbor):0.0, meanDegree:1, algo:13MB, totalMB:1725, usedMB:1062
2021-10-01 07:30:18,816 INFO [core.PrepareCore] - 180 444, updates:2, nodes: 721 774, shortcuts:1 989, dijkstras:8 905 546, t(dijk):116.72, t(period):131.06, t(lazy):0.0, t(neighbor):10.14, meanDegree:1, algo:13MB, totalMB:1725, usedMB:1188
2021-10-01 07:32:24,763 INFO [core.PrepareCore] - 360 888, updates:4, nodes: 541 330, shortcuts:66 919, dijkstras:13 575 639, t(dijk):192.39, t(period):236.82, t(lazy):0.0, t(neighbor):25.82, meanDegree:1, algo:13MB, totalMB:1725, usedMB:1292
2021-10-01 07:34:52,365 INFO [core.PrepareCore] - 541 332, updates:6, nodes: 360 886, shortcuts:265 829, dijkstras:18 634 930, t(dijk):280.78, t(period):324.27, t(lazy):0.0, t(neighbor):71.75, meanDegree:1, algo:13MB, totalMB:1725, usedMB:989
2021-10-01 07:37:15,919 INFO [core.PrepareCore] - 721 776, updates:8, nodes: 180 442, shortcuts:497 702, dijkstras:23 678 553, t(dijk):365.37, t(period):382.19, t(lazy):0.0, t(neighbor):138.87, meanDegree:2, algo:13MB, totalMB:1725, usedMB:1115
2021-10-01 07:43:50,761 INFO [core.PrepareCore] - took:1017, new shortcuts: 893 993, prepare|shortest|car-ors, dijkstras:39353408, t(dijk):604.28, t(period):400.25, t(lazy):34.75, t(neighbor):441.64, meanDegree:8, initSize:902218, periodic:10, lazy:10, neighbor:90, totalMB:1725, usedMB:1276
2021-10-01 07:47:49,313 INFO [routing.RoutingProfile] - [1] FlagEncoders: 1, bits used [UNKNOWN]/64.
2021-10-01 07:47:49,314 INFO [routing.RoutingProfile] - [1] Capacity: [UNKNOWN]. (edges - 1163561, nodes - 902218)
2021-10-01 07:47:49,317 INFO [routing.RoutingProfile] - [1] Total time: 2561.002s.
2021-10-01 07:47:49,320 INFO [routing.RoutingProfile] - [1] Finished at: 2021-10-01 07:47:49.
2021-10-01 07:47:49,322 INFO [routing.RoutingProfile] -
2021-10-01 07:47:49,330 INFO [routing.RoutingProfileManager] - Total time: 2561.307s.
2021-10-01 07:47:49,332 INFO [routing.RoutingProfileManager] - ========================================================================
2021-10-01 07:47:49,339 INFO [routing.RoutingProfileManager] - ====> Recycling garbage...
2021-10-01 07:47:49,341 INFO [routing.RoutingProfileManager] - Before: Total - 1.88 GB, Free - 337.71 MB, Max: 2 GB, Used - 1.55 GB
2021-10-01 07:47:49,443 INFO [routing.RoutingProfileManager] - After: Total - 1.88 GB, Free - 1.26 GB, Max: 2 GB, Used - 632.27 MB
2021-10-01 07:47:49,445 INFO [routing.RoutingProfileManager] - ========================================================================
2021-10-01 07:47:49,447 INFO [routing.RoutingProfileManager] - ====> Memory usage by profiles:
2021-10-01 07:47:49,500 INFO [routing.RoutingProfileManager] - [1] 252.03 MB (39.9%)
2021-10-01 07:47:49,502 INFO [routing.RoutingProfileManager] - Total: 252.03 MB (39.9%)
2021-10-01 07:47:49,504 INFO [routing.RoutingProfileManager] - ========================================================================
2021-10-01 08:02:00,791 INFO [util.SystemMessage] - SystemMessage loaded 0 messages.
This is my ors-config.json file:
{
"ors": {
"info": {
"base_url": "https://openrouteservice.org/",
"support_mail": "support@openrouteservice.org",
"author_tag": "openrouteservice",
"content_licence": "LGPL 3.0"
},
"services": {
"matrix": {
"enabled": true,
"maximum_routes": 100,
"maximum_routes_flexible": 25,
"maximum_search_radius": 5000,
"maximum_visited_nodes": 100000,
"allow_resolve_locations": true,
"attribution": "openrouteservice.org, OpenStreetMap contributors"
},
"isochrones": {
"enabled": true,
"maximum_range_distance": [
{
"profiles": "any",
"value": 50000
},
{
"profiles": "driving-car, driving-hgv",
"value": 100000
}
],
"maximum_range_time": [
{
"profiles": "any",
"value": 18000
},
{
"profiles": "driving-car, driving-hgv",
"value": 3600
}
],
"fastisochrones": {
"maximum_range_distance": [
{
"profiles": "any",
"value": 50000
},
{
"profiles": "driving-car, driving-hgv",
"value": 500000
}
],
"maximum_range_time": [
{
"profiles": "any",
"value": 18000
},
{
"profiles": "driving-car, driving-hgv",
"value": 10800
}
],
"profiles": {
"default_params": {
"enabled": false,
"threads": 12,
"weightings": "recommended",
"maxcellnodes": 5000
},
"profile-hgv": {
"enabled": true,
"threads": 12,
"weightings": "recommended, shortest",
"maxcellnodes": 5000
}
}
},
"maximum_intervals": 10,
"maximum_locations": 2,
"allow_compute_area": true
},
"routing": {
"enabled": true,
"mode": "normal",
"routing_description": "This is a routing file from openrouteservice",
"routing_name": "openrouteservice routing",
"sources": [
"data/osm_file.pbf"
],
"init_threads": 1,
"attribution": "openrouteservice.org, OpenStreetMap contributors",
"elevation_preprocessed": false,
"profiles": {
"active": [
"car"
],
"default_params": {
"encoder_flags_size": 8,
"graphs_root_path": "data/graphs",
"elevation_provider": "multi",
"elevation_cache_path": "data/elevation_cache",
"elevation_cache_clear": false,
"instructions": true,
"maximum_distance": 100000,
"maximum_distance_dynamic_weights": 100000,
"maximum_distance_avoid_areas": 100000,
"maximum_waypoints": 50,
"maximum_snapping_radius": 400,
"maximum_avoid_polygon_area": 200000000,
"maximum_avoid_polygon_extent": 20000,
"maximum_distance_alternative_routes": 100000,
"maximum_alternative_routes": 3,
"maximum_distance_round_trip_routes": 100000,
"maximum_speed_lower_bound": 80,
"preparation": {
"min_network_size": 200,
"min_one_way_network_size": 200,
"methods": {
"lm": {
"enabled": true,
"threads": 1,
"weightings": "recommended,shortest",
"landmarks": 16
}
}
},
"execution": {
"methods": {
"lm": {
"disabling_allowed": true,
"active_landmarks": 8
}
}
}
},
"profile-car": {
"profiles": "driving-car",
"parameters": {
"encoder_flags_size": 8,
"encoder_options": "turn_costs=true|block_fords=false|use_acceleration=true",
"maximum_distance": 100000,
"elevation": true,
"maximum_snapping_radius": 350,
"preparation": {
"min_network_size": 200,
"min_one_way_network_size": 200,
"methods": {
"ch": {
"enabled": true,
"threads": 1,
"weightings": "fastest"
},
"lm": {
"enabled": false,
"threads": 1,
"weightings": "fastest,shortest",
"landmarks": 16
},
"core": {
"enabled": true,
"threads": 1,
"weightings": "fastest,shortest",
"landmarks": 64,
"lmsets": "highways;allow_all"
}
}
},
"execution": {
"methods": {
"ch": {
"disabling_allowed": true
},
"lm": {
"disabling_allowed": true,
"active_landmarks": 6
},
"core": {
"disabling_allowed": true,
"active_landmarks": 6
}
}
},
"ext_storages": {
"WayCategory": {},
"HeavyVehicle": {},
"WaySurfaceType": {},
"RoadAccessRestrictions": {
"use_for_warnings": true
}
}
}
},
"profile-hgv": {
"profiles": "driving-hgv",
"parameters": {
"encoder_flags_size": 8,
"encoder_options": "turn_costs=true|block_fords=false|use_acceleration=true",
"maximum_distance": 100000,
"elevation": true,
"preparation": {
"min_network_size": 200,
"min_one_way_network_size": 200,
"methods": {
"ch": {
"enabled": true,
"threads": 1,
"weightings": "recommended"
},
"core": {
"enabled": true,
"threads": 1,
"weightings": "recommended,shortest",
"landmarks": 64,
"lmsets": "highways;allow_all"
}
}
},
"execution": {
"methods": {
"ch": {
"disabling_allowed": true
},
"core": {
"disabling_allowed": true,
"active_landmarks": 6
}
}
},
"ext_storages": {
"WayCategory": {},
"HeavyVehicle": {
"restrictions": true
},
"WaySurfaceType": {}
}
}
},
"profile-bike-regular": {
"profiles": "cycling-regular",
"parameters": {
"encoder_options": "consider_elevation=true|turn_costs=true|block_fords=false",
"elevation": true,
"ext_storages": {
"WayCategory": {},
"WaySurfaceType": {},
"HillIndex": {},
"TrailDifficulty": {}
}
}
},
"profile-bike-mountain": {
"profiles": "cycling-mountain",
"parameters": {
"encoder_options": "consider_elevation=true|turn_costs=true|block_fords=false",
"elevation": true,
"ext_storages": {
"WayCategory": {},
"WaySurfaceType": {},
"HillIndex": {},
"TrailDifficulty": {}
}
}
},
"profile-bike-road": {
"profiles": "cycling-road",
"parameters": {
"encoder_options": "consider_elevation=true|turn_costs=true|block_fords=false",
"elevation": true,
"ext_storages": {
"WayCategory": {},
"WaySurfaceType": {},
"HillIndex": {},
"TrailDifficulty": {}
}
}
},
"profile-bike-electric": {
"profiles": "cycling-electric",
"parameters": {
"encoder_options": "consider_elevation=true|turn_costs=true|block_fords=false",
"elevation": true,
"ext_storages": {
"WayCategory": {},
"WaySurfaceType": {},
"HillIndex": {},
"TrailDifficulty": {}
}
}
},
"profile-walking": {
"profiles": "foot-walking",
"parameters": {
"encoder_options": "block_fords=false",
"elevation": true,
"ext_storages": {
"WayCategory": {},
"WaySurfaceType": {},
"HillIndex": {},
"TrailDifficulty": {}
}
}
},
"profile-hiking": {
"profiles": "foot-hiking",
"parameters": {
"encoder_options": "block_fords=false",
"elevation": true,
"ext_storages": {
"WayCategory": {},
"WaySurfaceType": {},
"HillIndex": {},
"TrailDifficulty": {}
}
}
},
"profile-wheelchair": {
"profiles": "wheelchair",
"parameters": {
"encoder_options": "block_fords=true",
"elevation": true,
"maximum_snapping_radius": 50,
"ext_storages": {
"WayCategory": {},
"WaySurfaceType": {},
"Wheelchair": {
"KerbsOnCrossings": "true"
},
"OsmId": {}
}
}
}
}
}
},
"logging": {
"enabled": true,
"level_file": "DEBUG_LOGGING.json",
"location": "/var/log/ors",
"stdout": true
},
"system_message": [
{
"active": false,
"text": "This message would be sent with every routing bike fastest request",
"condition": {
"request_service": "routing",
"request_profile": "cycling-regular,cycling-mountain,cycling-road,cycling-electric",
"request_preference": "fastest"
}
},
{
"active": false,
"text": "This message would be sent with every request for geojson response",
"condition": {
"api_format": "geojson"
}
},
{
"active": false,
"text": "This message would be sent with every request on API v1 from January 2020 until June 2050",
"condition": {
"api_version": 1,
"time_after": "2020-01-01T00:00:00Z",
"time_before": "2050-06-01T00:00:00Z"
}
},
{
"active": false,
"text": "This message would be sent with every request"
}
]
}
}
My localhost.2020-10-01.log:
01-Oct-2021 07:04:59.817 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log 2 Spring WebApplicationInitializers detected on classpath
01-Oct-2021 07:05:04.742 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Initializing Spring embedded WebApplicationContext
01-Oct-2021 07:05:08.651 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized()
01-Oct-2021 07:05:08.652 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized()
01-Oct-2021 07:05:08.656 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded('StockTicker', 'async.Stockticker@60f7c8ee')
01-Oct-2021 07:29:27.142 INFO [http-nio-8080-exec-1] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'dispatcherServlet'
This is my docker-compose:
version: '2.4'
services:
ors-app:
container_name: ors-app
ports:
- 8080:8080
- 9001:9001
image: openrouteservice/openrouteservice:latest
# build:
# context: ../
# args:
# ORS_CONFIG: ./openrouteservice/src/main/resources/ors-config-sample.json
# OSM_FILE: ./openrouteservice/src/main/files/heidelberg.osm.gz
user: "${ORS_UID:-0}:${ORS_GID:-0}"
volumes:
- ./graphs:/ors-core/data/graphs
- ./elevation_cache:/ors-core/data/elevation_cache
- ./logs/ors:/var/log/ors
- ./logs/tomcat:/usr/local/tomcat/logs
- ./conf:/ors-conf
- ./belgium-latest.osm.pbf:/ors-core/data/osm_file.pbf
environment:
- BUILD_GRAPHS=True # Forces the container to rebuild the graphs, e.g. when PBF is changed
- "JAVA_OPTS=-Djava.awt.headless=true -server -XX:TargetSurvivorRatio=75 -XX:SurvivorRatio=64 -XX:MaxTenuringThreshold=3 -XX:+UseG1GC -XX:+ScavengeBeforeFullGC -XX:ParallelGCThreads=4 -Xms1g -Xmx2g"
- "CATALINA_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9001 -Dcom.sun.management.jmxremote.rmi.port=9001 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=localhost"