chairemobilite / transition

Transition is a modern new approach to transit planning. It's a web application to model, simulate and plan public transit and alternative transportation.
http://transition.city
MIT License
20 stars 13 forks source link

osrm: osrm server crashes sometime after many uses #375

Open kaligrafy opened 2 years ago

kaligrafy commented 2 years ago

Hard to reproduce, the osrm servers sometimes crashes and the bus modes are not appearing.

greenscientist commented 2 years ago

Do you have some messages in the dmesg output? (Just wondering if the issue is system side or a bug in OSRM

kaligrafy commented 2 years ago

I think it is a client bug only, because some users see all the routing engines and some no. Maybe we should fetch the osrm servers status from server before each calculation.

kaligrafy commented 2 years ago

Can't see the logs because they have been recycled and the bug happened before...

kaligrafy commented 2 years ago

It could be client cache related... I don't know if we can change the http response on server to force reload javascript content on each request...