[OSRM-talk] Re : Re: how to play with multiple lua

didier2020 at free.fr didier2020 at free.fr
Wed May 14 09:14:22 UTC 2014


without the file "server.ini" it's works ...

./osrm-routed map.osrm -t 1 -p 5000 => ok
./osrm-routed map2.osrm -t 1 -p 5001 => ok

thank's
didier
----- Mail d'origine -----
De: didier2020 at free.fr
À: osrm-talk at openstreetmap.org
Envoyé: Wed, 14 May 2014 10:47:58 +0200 (CEST)
Objet: Re: [OSRM-talk] how to play with multiple lua

>> 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

_______________________________________________
OSRM-talk mailing list
OSRM-talk at openstreetmap.org
https://lists.openstreetmap.org/listinfo/osrm-talk




More information about the OSRM-talk mailing list