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!
Solution:Jump to 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
10 Replies
Project ID:
8a00778f-e3c5-48a6-a9d1-5b5716aa6183,240aae7a-913e-4d9f-883e-ecd9ef2e6bd3
Here's the only time I've got some more context before killing the service
what do your memory metrics look like for that service?
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
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
It takes some time to apply? I've just done the upgrade but seems the same
have you redeployed?
Yes! Now it seems to be working. Curious why it took that peak before. There wasn't anything superbig! Anyway thanks!!
no problem!