Why is my project crashing?

202420505
TRIAL

8 months ago

dockerfile :

Base image

FROM osrm/osrm-backend:v5.26.0

Set the working directory

WORKDIR /data

Copy your OSM data

COPY ./data/south-korea-latest.osm.pbf ./

Preprocess the data

RUN osrm-extract -p /opt/car.lua south-korea-latest.osm.pbf && \
osrm-partition south-korea-latest.osrm && \
osrm-customize south-korea-latest.osrm

Set the port for the OSRM server

ENV PORT 5000

Run OSRM

CMD ["osrm-routed", "--port", "5000", "south-korea-latest.osrm"]

log :

Starting Container

Oct 27 21:35:52

[info] starting up engines, v5.26.0

Oct 27 21:35:52

[info] Threads: 32

Oct 27 21:35:52

[info] IP address: 0.0.0.0

Oct 27 21:35:52

[info] IP port: 5000

Oct 27 21:35:54

container event container restart

Oct 27 21:35:54

[info] starting up engines, v5.26.0

Oct 27 21:35:54

[info] Threads: 32

Oct 27 21:35:54

[info] IP address: 0.0.0.0

Oct 27 21:35:54

[info] IP port: 5000

Oct 27 21:35:56

container event container restart

Oct 27 21:35:56

[info] starting up engines, v5.26.0

Oct 27 21:35:56

[info] Threads: 32

Oct 27 21:35:56

[info] IP address: 0.0.0.0

Oct 27 21:35:56

[info] IP port: 5000

Oct 27 21:35:58

container event container died

Oct 27 21:35:58

[info] starting up engines, v5.26.0

Oct 27 21:35:58

[info] Threads: 32

Oct 27 21:35:58

[info] IP address: 0.0.0.0

Oct 27 21:35:58

[info] IP port: 5000

Oct 27 21:35:59

[info] starting up engines, v5.26.0

Oct 27 21:35:59

[info] Threads: 32

Oct 27 21:35:59

[info] IP address: 0.0.0.0

Oct 27 21:35:59

[info] IP port: 5000

Oct 27 21:36:00

container event container died

Oct 27 21:36:01

container event container died

Oct 27 21:36:01

[info] starting up engines, v5.26.0

Oct 27 21:36:01

[info] Threads: 32

Oct 27 21:36:01

[info] IP address: 0.0.0.0

Oct 27 21:36:01

[info] IP port: 5000

Oct 27 21:36:03

container event container died

Oct 27 21:36:03

[info] starting up engines, v5.26.0

Oct 27 21:36:03

[info] Threads: 32

Oct 27 21:36:03

[info] IP address: 0.0.0.0

Oct 27 21:36:03

[info] IP port: 5000

Oct 27 21:36:05

container event container died

Oct 27 21:36:05

[info] starting up engines, v5.26.0

Oct 27 21:36:05

[info] Threads: 32

Oct 27 21:36:05

[info] IP address: 0.0.0.0

Oct 27 21:36:05

[info] IP port: 5000

Oct 27 21:36:06

[info] starting up engines, v5.26.0

Oct 27 21:36:06

[info] Threads: 32

Oct 27 21:36:06

[info] IP address: 0.0.0.0

Oct 27 21:36:06

[info] IP port: 5000

Oct 27 21:36:07

container event container restart

Oct 27 21:36:08

container event container died

Oct 27 21:36:08

[info] starting up engines, v5.26.0

Oct 27 21:36:08

[info] Threads: 32

Oct 27 21:36:08

[info] IP address: 0.0.0.0

Oct 27 21:36:08

[info] IP port: 5000

Oct 27 21:36:10

container event container restart

Oct 27 21:36:10

[info] starting up engines, v5.26.0

Oct 27 21:36:10

[info] Threads: 32

Oct 27 21:36:10

[info] IP address: 0.0.0.0

Oct 27 21:36:10

[info] IP port: 5000

Oct 27 21:36:11

container event container died

Oct 27 21:38:54

container event container restart

Oct 27 21:38:55

container event container restart

Oct 27 21:38:58

container event container died

Oct 27 21:39:00

container event container died

Oct 27 21:39:00

[info] starting up engines, v5.26.0

Oct 27 21:39:00

[info] Threads: 32

Oct 27 21:39:00

[info] IP address: 0.0.0.0

Oct 27 21:39:00

[info] IP port: 5000

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

2 Replies

202420505
TRIAL

8 months ago

this is the dockerfile

Attachments


8 months ago

Your application is very likely crashing due to running out of memory, the path forward here would be to upgrade to the Hobby plan for 8GB of memory, or Pro for 32GB.


Why is my project crashing? - Railway Help Station