Ruby on Rails app suddenly crashes
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.
#✋|help
Solution:Jump to solution
then i would recommend handling all the errors and implementing verbose logging so you can get an understanding of what your code is doing
5 Replies
Project ID:
b4366afc-5dba-455a-8633-9575a9c9e6f0
b4366afc-5dba-455a-8633-9575a9c9e6f0
do you have any logs on why it crashed?
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).
Solution
then i would recommend handling all the errors and implementing verbose logging so you can get an understanding of what your code is doing