Simple Rails app reboots periodically then crashes when runs out of memory
arthurmaxwj
FREEOP

a year ago

So I deployed Rails app on Railway and while I fixed previous issue with rebooting due to pid file (here Please help with fixing crushing app on Railway ) I have another weird issue. After several hours when the app seems to be repeatedly killed and rebooted once in a while, it finally crashes for good. It says it "Run out of memory" in my email crash report, but it's the simplest rails app possible that made no use of database and wasn't used by me for hours.

Of course, there is periodical crushing activity still there. Maybe there is better one-click hosting than Railway as it might be an issue with hosting.

Also published on Reddit: Help with Railway app crushing after several hpurs : r/rubyonrails

Solved

1 Replies

a year ago

Hi, you're on the trial plan, which has a limit on RAM. your process is going over the ram usage (increasing ram usage is common in most web frameworks and languages)


Status changed to Awaiting User Response Railway about 1 year ago


Status changed to Solved nico about 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...