[OSRM-talk] how to play with multiple lua

didier2020 at free.fr didier2020 at free.fr
Wed May 14 08:47:58 UTC 2014


>> hi,
>>
>> i've just build osrm without bug
>> with a small extract of geofabrick, i use osrm-routed with default
>> car.lua and Project-OSRM-Web and it's works fine :)
>>
>> with osrm-extract, osrm-prepare i've made 2 differents map.osrm.xxx
>> (with 2 differents lua)
>>
>> my question
>> how to run osrm-routed and setup Project-OSRM-Web to play with 2 lua in
>> the same time ?
>
>Hi,
>
>You'll have to run 2 separated process osrm-routed on 2 different tcp
>port.

the second process "don't launch"

./osrm-routed map.osrm -c server.ini => ok
./osrm-routed map2.osrm -c server2.ini => nok
[warn] exception: bind Adrress already in use

with server.ini:
Threads = 1
IP = 127.0.0.1
Port = 5000

server2.ini:
Threads = 1
IP = 127.0.0.1
Port = 5001



More information about the OSRM-talk mailing list