PostgreSQL: Connection reset by peer in Nestjs project

Hi! I'm currently facing an issue with my backend deployment. Everytime I redeploy it keeps killing the service and restarting until it fails. Didn't add anything since my last branch that it worked. I'm running same code in local with same env and same command and it is working Project ID: 8a00778f-e3c5-48a6-a9d1-5b5716aa6183 Service ID: 240aae7a-913e-4d9f-883e-ecd9ef2e6bd3 Thanks!
No description
Solution:
that big spike corresponds to the killed message, looks like your service is trying to use more memory than the trial plan allows for (512mb) you would have to upgrade to the hobby plan
Jump to solution
10 Replies
Percy
Percy11mo ago
Project ID: 8a00778f-e3c5-48a6-a9d1-5b5716aa6183,240aae7a-913e-4d9f-883e-ecd9ef2e6bd3
alfonsotrocoli
alfonsotrocoliOP11mo ago
Here's the only time I've got some more context before killing the service
No description
Brody
Brody11mo ago
what do your memory metrics look like for that service?
alfonsotrocoli
alfonsotrocoliOP11mo ago
No description
alfonsotrocoli
alfonsotrocoliOP11mo ago
Last try has been 26minutes ago, there where some migrations but anything pretty big, the migrations in the 3rd try finally got made but keep restarting
Solution
Brody
Brody11mo ago
that big spike corresponds to the killed message, looks like your service is trying to use more memory than the trial plan allows for (512mb) you would have to upgrade to the hobby plan
alfonsotrocoli
alfonsotrocoliOP11mo ago
It takes some time to apply? I've just done the upgrade but seems the same
Brody
Brody11mo ago
have you redeployed?
alfonsotrocoli
alfonsotrocoliOP11mo ago
Yes! Now it seems to be working. Curious why it took that peak before. There wasn't anything superbig! Anyway thanks!!
No description
Brody
Brody11mo ago
no problem!
Want results from more Discord servers?
Add your server