Ruby on Rails app suddenly crashes

hassenioHOBBY

7 months 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>

0 Replies

hassenioHOBBY

7 months ago

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


7 months ago

do you have any logs on why it crashed?


hassenioHOBBY

7 months 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).


7 months 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


Ruby on Rails app suddenly crashes - Railway Help Station