-
Notifications
You must be signed in to change notification settings - Fork 977
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EMFILE and EBUSY errors in node 20 #686
Comments
We have seen the same issue. Using Datadog layers as you seem to be using. We are trying to debug, I'll update this ticket if we get any more insight. |
Datadog has released new version of lambda instrumentation, which fixed the issue for us. |
Thanks for reporting this, I was meaning to report this too. The Two paths I found, that are unrealistic:
Hope this can get someone kickstarted on the issue, as would be great to use Codebuild with Lambda execution engine to do the build |
Describe the bug
When switching from node 18 to node 20 we noticed a lot of EMFILE and EBUSY that we never had before.
To Reproduce
This is really hard to reproduce it only happens sometimes when making network requests.
Expected behavior
No error to appear
Logs
Platform (please complete the following information):
node20 x86_64
Additional context
Not sure if this an issue with the image or the lambda runtime so please let me know if another repo makes more sense
The text was updated successfully, but these errors were encountered: