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?
11 Replies
a year ago
Check your restart policies in the service settings
a year ago
it’s at the end of the settings options
a year ago
you've set it to always?
a year ago
@Script
a year ago
!s
Status changed to Solved brody • about 1 year ago