service "crashes" but its actually still online
dwaynemac
PROOP

a year ago

I've been frequently getting a notification of my service crashing.

On accessing the dashboard the service is indeed red and marked as crashed.

Attempting restart raises error: "Deployment must be redeployed".

Redeployment works fine.

BUT

all along when accessing by website it's actually still online.

Solved

6 Replies

Hmmm I have gone ahead and checked the service's health checks and restart policies to ensure they are configured correctly. And it seems that you do have a restart, but without knowing too much of your application, I don't know if it's a worker that crashed. If Railway sees any non-zero exit code even if there are multiple processes, it will report as crashed.

Additionally, reviewing the deployment logs and metrics on the Railway dashboard could provide insights into why the service is marked as crashed despite being online.

Hope this helps
- Angelo

Attachments


Status changed to Awaiting User Response Railway about 1 year ago


dwaynemac
PROOP

a year ago

this is happening a lot with services migrated to METAL.


Status changed to Awaiting Railway Response Railway 11 months ago


dwaynemac
PROOP

a year ago

service crashes but no error on logs and it seems to keep working.

Attachments


dwaynemac
PROOP

a year ago

on restart attempt i get an error and i am prompted to redeploy

Attachments


dwaynemac
PROOP

a year ago

this happens several times a day

Attachments


Something in your application is exiting, there's not much I can go off of with the current information presented here.


Status changed to Awaiting User Response Railway 11 months ago


Railway
BOT

7 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 7 months ago


Loading...