Closed filmerjarred closed 1 year ago
We have the same all over our logs in vercel:
(node:15) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 response listeners added to [ClientRequest]. Use emitter.setMaxListeners() to increase limit
(node:15) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 response listeners added to [ClientRequest]. Use emitter.setMaxListeners() to increase limit
(node:15) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 response listeners added to [ClientRequest]. Use emitter.setMaxListeners() to increase limit
same here:
(node:97237) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
(node:97237) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
(node:97237) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
(node:97237) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
(node:97237) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
(node:97237) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
(node:97237) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
(node:97237) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
(node:97237) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
(node:97237) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
(node:97237) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
(node:97237) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
(node:97237) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
(node:97237) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
(node:97237) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
(node:97237) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
(node:97237) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
(node:97237) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
Same here.
@filmerjarred @Renetnielsen @san-pblr-gct @DB-Alex Y'all need to provide some valid repros. Sharing logs or undeployable repos doesn't help to fix this issue.
Seems fixed now, we're not seeing it with new deploys.
And this probably wanted to be a vercel support request rather than a nextjs issue.
Was hoping someone could eyeball whatever had changed within the last week around /var/task/___vc/__launcher.js:190:13
within the vercel code and it would be obvious whatever it adding listeners.
Facing the exact same issue as others. So not sure what that supposed fix is.
I can't provide a repo as it's our entire codebase, and don't have the time to try create a reproduction that is smaller. If I knew what was causing it I'd fix it.
I'm using Prisma with data proxy as a best guess but actually have no idea what's causing it.
Same issue here. Looking to move my deployment to Vercel, and I am seeing this error in the logs while trying to debug next-auth issues as well.
Seeing the same issue. We've rolled back our production app. We're seeing these Maximum call stack size exceeded
errors as well. Also referencing /var/task/___vc/__launcher.js
Seeing this as well
How to solve this problem?
We see MaxListenersExceededWarning errors from many severless functions.
It happens only to deployments after today 4:30 pm (Singapore time). We instant rollbacked to previous build and it works fine without errors.
(node:15) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 response listeners added to [ClientRequest]. Use emitter.setMaxListeners() to increase limit
I do have the same:
(node:8) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 response listeners added to [ClientRequest]. Use emitter.setMaxListeners()
Seeing lots of these errors rolling into our Vercel logs in the past 30 mins or so.
This also began happening ~2 hours ago. All was good yesterday.
(node:8) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 response listeners added to [ClientRequest]. Use emitter.setMaxListeners() to increase limit
Same here in our account "artisan-labs" my project is "brisas-titicaca"
Same logs
MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 response listeners added to [ClientRequest]
This is happening on our end as well, error message: (node:15) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 16 response listeners added to [ClientRequest]. Use emitter.setMaxListeners() to increase limit
I just created a support case on Vercel: https://vercel.com/help I will update in here if I hear anything.
We see MaxListenersExceededWarning errors from many severless functions.
It happens only to deployments after today 4:30 pm (Singapore time). We instant rollbacked to previous build and it works fine without errors.
(node:15) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 response listeners added to [ClientRequest]. Use emitter.setMaxListeners() to increase limit
I do have the same problem and rolling back didn't work for me unfortunately. This issue should be reopened.
We're seeing the same issue.
Also having this issue.
We also ran into this starting with yesterday's deploy
Same Issue over here. Any help is appreciated.
Same issue here - seeing this on all of our API routes (page router). We tried redeploying the older version of our code on Vercel that was working and it is now exhibiting the same behavior. Suspect something underlying in the Vercel infrastructure. We're on Next 13.4.19.
Same issue here. Connected to axiom and sentry on vercel.
Same issue here - seeing this on all of our API routes (page router). We tried redeploying the older version of our code on Vercel that was working and it is now exhibiting the same behavior. Suspect something underlying in the Vercel infrastructure. We're on Next 13.4.19.
For all API routes on page router mode as well. "next": "^13.5.2",
Same issue for us as well. Our stack that can be relevant:
"next": "~12.1.6",
"next-auth": "~4.20.1",
"next-axiom": "^0.14.0",
"@next-auth/prisma-adapter": "^1.0.3",
"prisma": "4.8.1",
Connected to Axiom. Thanks for looking into this.
Same issue here. I have opened a support case with Vercel and I would suggest anyone experiencing the problem to do the same, as this is likely an issue with their environment.
Hi everyone! This was an issue we detected in our runtime and was already fixed. You can re-deploy to Vercel or re-run your deployment and the problem should be gone. Please reopen in case it keeps happening. Sorry about the inconvenience! 🙏
This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Verify canary release
Provide environment information
Which area(s) of Next.js are affected? (leave empty if unsure)
No response
Link to the code that reproduces this issue or a replay of the bug
https://github.com/Sage-Future/fatebook/tree/revision-test
To Reproduce
Push to vercel and load page
Issue deployment here https://vercel.com/sage-org/forecast-bot/6CiFTtcpywgQBwxYUpPJHTVQwZPz
Describe the Bug
We pushed a new version of our app to production today and started seeing "MaxListenersExceededWarning" warnings.
What we tried:
npm ci
and clearing the build cache didn't helpI figured out how to get a stack trace for the warnings, and this is what we see:
My guess is this
__launcher.js:190:13
has been updated in the last couple days and this is causing the issue. We don't see the warnings when we use "instant rollback" as I assume it's using a cached version oflauncher.js
I can see 2 other issues potentially related, https://github.com/vercel/next.js/issues/53949 and https://github.com/vercel/next.js/issues/54104
Expected Behavior
Our logs not being full of memory leak warnings
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
vercel