SIGKILL When running next start in ECS #69233
Unanswered
gustavotrapp
asked this question in
App Router
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using NextJS 14 and Prisma, we have a multi tenanted database and are experiencing something really weird that started happening after we deployed our NextJS app to production, we have an ECS with 0.5 vCPU and 1 GB mem.
We get a lot of too many instances warning from prisma and think this is somehow causing a memory leak that sigkill the app.
It usually happens when our app has the most amount of traffic so we are thinking it might something to do with that, there are too many users logged in and the prisma instances just spike and it sigkills the app.
Here is the log of it happening, this will happen anywhere from twice to up to 5 times a day

Beta Was this translation helpful? Give feedback.
All reactions