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
No description
No description
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
Jump to solution
5 Replies
Percy
Percy2w ago
Project ID: b4366afc-5dba-455a-8633-9575a9c9e6f0
0xHassen
0xHassenOP2w ago
b4366afc-5dba-455a-8633-9575a9c9e6f0
Brody
Brody2w ago
do you have any logs on why it crashed?
0xHassen
0xHassenOP2w 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).
Solution
Brody
Brody2w 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
Want results from more Discord servers?
Add your server