question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Windows setup - Local server crash - EMFILE when editing / opening tabs

See original GitHub issue

After a few days using my Ubuntu machine, I switched back to a Windows one and set up a fresh environment (cloning mdn/content and mdn/translated-content in the morning).

However, when I was editing a localized page for a PR and checking a few links on my current page (localhost:5000 in/… my browser), I repeatedly had crashes.

[Error: EMFILE: too many open files, open 'C:\Users\julien\mdn\content\files\en-us\web\api\window\scrollmaxx\index.html'] {
  errno: -4066,
  code: 'EMFILE',
  syscall: 'open',
  path: 'C:\\Users\\julien\\mdn\\content\\files\\en-us\\web\\api\\window\\scrollmaxx\\index.html'
}

I definitely reproduced this a few times without “trying too much” but don’t have a specific scenario for reproduction. I’ll update if I get one.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
peterbecommented, Mar 23, 2021

@SphinxKnight @hamishwillee you’re on Windows right? Can you download all 3 gists ^ into your yari directory and run each one of them and report what happens?

0reactions
hamishwilleecommented, Mar 24, 2021

I’m back on Moz stuff tomorrow. Happy to test the next round.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bug: Error: EMFILE: too many open files, open at lazyFs.open ...
NNI control server crashes while running experiment for several days. The only signs of crash are found in nnictl log stderr [exp_id] ....
Read more >
Windows User instantly crashes tabs I open
Windows User instantly crashes tabs I open. Hello,. I've had my pc build for 2 years and it has been flawless throughout until...
Read more >
node and Error: EMFILE, too many open files - Stack Overflow
This command will output the number of open handles for nodejs processes: ... this may not work for older NodeJS you'll need to...
Read more >
Node.js, "too many open files", and ulimit - Important Bits
Error: EMFILE, Too many open files. Here's what I learned when I ran into this error hosting a Node.js app using WebSockets on...
Read more >
RDP Freezes when use alt+tab - Devolutions Forum
Weird part is we created FreeRDPSandboxed to prevent crash in FreeRDP native lib from crashing RDM as well. However, in your crash report,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found