This is the forth day that i am trying to run the ORS inside and outside of docker and i keep running into the same issue, the analyze/process stage fails to complete.
It starts alright but after 25 mins CPU usage drops to almost 0, ors/health
says not ready
and it uses around 10.3 GB of RAM and there’s nothing in logs and the graph folder only contains gh.lock
I left it running for more than 24 hours but it changed nothing.
I’m trying to run north-america-latest.osm.pbf
from ‘geofabrik.de’
My server has around 67GB of RAM and 22 vcores @ 3.22Ghz
My docker-compose.yml:
version: ‘3.0’
services:
ors-app:
container_name: ors-app
ports:
- 8080:8080
build:
context: …/
args:
APP_CONFIG: ./docker/conf/app.config.sample
OSM_FILE: ./docker/data/north-america-latest.osm.pbf
volumes:
- ./graphs:/ors-core/data/graphs
- ./elevation_cache:/ors-core/data/elevation_cache
- ./logs/ors/:/var/log/ors/
- ./logs/tomcat/:/usr/local/tomcat/logs
environment:
- JAVA_OPTS=-Djava.awt.headless=true -server -XX:TargetSurvivorRatio=75 -XX:SurvivorRatio=64 -XX:MaxTenuringThreshold=3 -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:ParallelGCThreads=4 -Xms320G -Xmx60G -Xss3G -XX:MetaspaceSize=512m -verbose:gc
- 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