Need help automating restarts on the server
magicmike123
HOBBYOP

a year 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

a year ago

5b7584ff-b860-4c9e-b8ed-f90e513a7478


a year ago

Check your restart policies in the service settings


a year ago

it’s at the end of the settings options


magicmike123
HOBBYOP

a year ago

okey ima check that right now


magicmike123
HOBBYOP

a year ago

done, thanks


a year ago

you've set it to always?


a year ago

@Script


magicmike123
HOBBYOP

a year ago

ah, yes


magicmike123
HOBBYOP

a year ago

to always


magicmike123
HOBBYOP

a year ago


a year ago

!s


Status changed to Solved brody about 1 year ago


Loading...