Deployment has crashed
evgrekov
PROOP

2 years ago

My Deployment has crashed during run. Why don't you restart it automatically?

View Deploy details

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

7 Replies

2 years ago

Railway will restart the deployment up to 10 times, beyond that there's something majorly wrong and the user should look into the issue and implement a fix.


evgrekov
PROOP

2 years ago

Thanks for the answer. It starts again perfectly fine after I click "Restart" from the first try. It also sends me email with manual "Restart" button right after crashed, I don't see any automatic attempts to restart.


2 years ago

What's your restart setting set to in the service settings?


evgrekov
PROOP

2 years ago

Restart Policy on Failure. 10 attempts


2 years ago

Then as previously mentioned, the 10 attempts where likely exhausted at some point.


evgrekov
PROOP

2 years ago

Thanks i'll try to set 100 attempts.


2 years ago

That would work for a temporary fix.


Loading...