Need help automating restarts on the server
magicmike123
HOBBYOP

2 years ago

Okey, so theres an issue we have with the server crashing every once in a while because... Node goes out of memory and thats very hard to debug, in fact, dont care about it as soon as It can restart right away automatically. It just happens every like, 5-15 days or so that the backend crashes and needs to be restarted manually, can this be automated so that when it crashes it restarts automatically? This seems to happen most of the times to be clear, but sometimes it doesnt. When it doesnt, I get an email saying Backend has crashed from Railway, thats the time I need to restart the backend manually, but sometimes it catches me sleeping and I cant restart it for the users right away. So, how can this be automated?

Solved

11 Replies

magicmike123
HOBBYOP

2 years ago

5b7584ff-b860-4c9e-b8ed-f90e513a7478


2 years ago

Check your restart policies in the service settings


2 years ago

it’s at the end of the settings options


magicmike123
HOBBYOP

2 years ago

okey ima check that right now


magicmike123
HOBBYOP

2 years ago

done, thanks


2 years ago

you've set it to always?


2 years ago

@Script


magicmike123
HOBBYOP

2 years ago

ah, yes


magicmike123
HOBBYOP

2 years ago

to always


magicmike123
HOBBYOP

2 years ago


2 years ago

!s


Status changed to Solved brody over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...