9 months ago
Both my pg database and application crashed and wont restart. there are no logs for the crash
26 Replies
9 months ago
Did you try redeploying the DB?
Can you also double check to see if there's no error logs in the "Deploy" section of the logs?
10 minutes after the original crash after 3-4 failures i managed to redeploy the DB. but the app wont redeploy. the last available logs are the ones of the original crash
they start like this:
error: could not fdatasync file "000000010000000000000036": No space left on device
the volume of the db is not full.
9 months ago
Ok, so is the DB up and running fine right now? The issue is with your app?
9 months ago
Because the error you sent is a common postgres error afaik, unless your app is using the filesystem like crazy
9 months ago
We need to see what errors is your app throwing
this is the from the app log. last entry is at 13:16 -> currrently 16:59 despite trying to redeploy multiple times. the app crashes without log
9 months ago
What does your app do? Maybe it needs a volume attached?
https://docs.railway.com/reference/volumes
9 months ago
Maybe, if you exceed the ephemeral storage (I think its ~10gb) your app will crash, but since we are redeploying and you don't have a volume attach my guess is that it is empty right now.
9 months ago
What are you trying to deploy?
9 months ago
What is this "app" of yours?
it is a very simple nodejs app memory never over 100mb. code size not over 10mb.
I have not made any changes to the code for months. It is running like this and clients are connecting normally without issue for over a year. the issue seems identical to @Lucas Contreras reported at the same time
9 months ago
Is it working as intended and making db calls fine?
seems like it works ok. but since this have never happened I am really worrried
9 months ago
Don't be worried about it! This was an extensive chat because I thought u had already tried redeploying the service instead of restarting it!
9 months ago
And if any issue occur again, feel free to open another help thread 😉
Thank you for the help and sorry for the misinformation. Is this something that happens regularly? I mean is this common ?
9 months ago
It isn't common and definitely doesn't happen regularly.
9 months ago
I will mark this thread as solved, feel free to open a new one if needed!
9 months ago
!s
Status changed to Solved medim • 9 months ago