Skip to content
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

Error: EMFILE: too many open files #2139

Closed
zachleat opened this issue Dec 18, 2021 · 3 comments
Closed

Error: EMFILE: too many open files #2139

zachleat opened this issue Dec 18, 2021 · 3 comments
Assignees
Labels

Comments

@zachleat
Copy link
Member

Removing the fs-extra dependency in 1.x caused this error to crop back up.

fs-extra solved this problem for both reads and writes using graceful-fs behind the scenes

https://www.npmjs.com/package/graceful-fs

Marginally related (but probably not related?) issue in 0.x: #1980

@zachleat
Copy link
Member Author

Shipping with beta 9 and canary 47

@mirisuzanne
Copy link

I just upgraded to 1.0, and started getting this error. Not sure if there's something I need to do locally to solve this?

@epelc
Copy link
Contributor

epelc commented Jul 13, 2022

@zachleat is there something with passthrough files that could cause this? Was trying on 2.0.0 canary 9, canary 12, and also tried on 1.0.1

We are still seeing this on a project with 368 template files(html) and roughly 15,700 images/other passthrough files(16k total).

  • Only happens on windows, not on mac
  • Doesn't happen if we lower down to around 15,300 passthrough files total

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants