Project-OSRM / osrm-backend

Open Source Routing Machine - C++ backend
http://map.project-osrm.org
BSD 2-Clause "Simplified" License
6.41k stars 3.39k forks source link

osrm-routed not starting #6456

Open khaen opened 1 year ago

khaen commented 1 year ago

I downloaded germany osm pbf few times for sure file is ok.
platform: windows 2019 server osrm-extract : no fail osrm-contract: no fail osrm-routed: fail down there

[error] I/O error occurred: germany.osrm.hsgr : /ch/metrics/routability/contracted_graph/edge_array (possible cause: "Invalid argument") (at include\storage/tar.hpp:53)

SiarheiFedartsou commented 1 year ago

May be you can add more details? At least parameters you pass to each of tools would really help us to help you.

khaen commented 1 year ago

Hi, Problem is latest-germany file. i tried with 2020 version of map, it worked well. You can just try latest germany and see that osm-routed can't handle. than fix the bug which it doesnt like in the osm file.

SiarheiFedartsou commented 1 year ago

What parameters should I try? Are you sure that osrm-extract finished without errors? May be out of memory? Did you use Docker image?

I am sorry, but I think you should provide as much details as possible if you really want to have a help.

khaen commented 1 year ago

osrm-extract germany.osm.pbf -p profiles/car.lua finish without error osrm-contract germany finish without error

osrm-routed --max-table-size 10000 Germany -p 5000 [error] I/O error occurred: germany.osrm.hsgr : /ch/metrics/routability/contracted_graph/edge_array (possible cause: "Invalid argument") (at include\storage/tar.hpp:53)�[0m

but same parameters works fine with 2020 version of map, it worked fine. my server have 188gb memory and 24 core. Windows 2019 you can just download latest germany and see the same error message (on windows. i didnt try linux).