Ruby on Rails app suddenly crashes
hassenio
HOBBYOP

2 years ago

Hi folks,

I deployed a Ruby on Rails app a month ago and experienced web app crashes at random intervals. The app can work seamlessly for a few days, then crashes.

Fixing the issue requires me to redeploy the app and not just restart it.

Not sure why it needs a redeploy. Just restarting doesn't make it work again.

Any idea on what could cause that? Thanks.

<#1006629907067064482>

4 Replies

hassenio
HOBBYOP

2 years ago

b4366afc-5dba-455a-8633-9575a9c9e6f0


2 years ago

do you have any logs on why it crashed?


hassenio
HOBBYOP

2 years ago

No, unfortunately I only have usual app logs. The build logs show no failure, and app logs are usual. I suspected many TurboStreams connections might have increased the memory until the crash, but I'm not sure (just guessing).


2 years ago

then i would recommend handling all the errors and implementing verbose logging so you can get an understanding of what your code is doing


Welcome!

Sign in to your Railway account to join the conversation.

Loading...