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

MacOS: Too many open files #1276

Closed
snadon opened this issue Jan 30, 2020 · 2 comments
Closed

MacOS: Too many open files #1276

snadon opened this issue Jan 30, 2020 · 2 comments
Labels
A-technical Area: Technical issues, like platform support and issues that don't affect most users directly bug Something isn't working U-other Upstream: Potentially dependent on upstream projects other than the usual suspects

Comments

@snadon
Copy link

snadon commented Jan 30, 2020

I'm trying to build the project like I usually do but now it's giving me this error:

info install 0.6.2 (using package.json)
info checking https://github.com/ocaml/opam-repository for updates...
info checking https://github.com/esy-ocaml/esy-opam-override for updates...
info resolving esy packages: done                         
info solving esy constraints: done         
info resolving npm packages: done                    
info fetching: done                                                          
error: Too many open files                                                              
  unpacking esy-libjpeg-turbo@github:revery-ui/libjpeg-turbo#61e031f
  installing esy-libjpeg-turbo@github:revery-ui/libjpeg-turbo#61e031f
esy: exiting due to errors above
@bryphe
Copy link
Member

bryphe commented Jan 30, 2020

Ah, I've seen this before too @snadon - seems like an esy bug. Opened esy/esy#1057

Locally, as a workaround, I run ulimit -Sn 4096 in the shell session, which raises the limit of open file descriptors.

@bryphe bryphe added A-technical Area: Technical issues, like platform support and issues that don't affect most users directly bug Something isn't working U-other Upstream: Potentially dependent on upstream projects other than the usual suspects labels Jan 30, 2020
@bryphe
Copy link
Member

bryphe commented Feb 7, 2020

Updated docs in #1302 to note the workaround. Root issue is tracked in esy/esy#1057 - so I'll close this one out.

@bryphe bryphe closed this as completed Feb 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-technical Area: Technical issues, like platform support and issues that don't affect most users directly bug Something isn't working U-other Upstream: Potentially dependent on upstream projects other than the usual suspects
Projects
None yet
Development

No branches or pull requests

2 participants