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

Make sure to not hit open file descriptor limit #544

Closed
vojtajina opened this issue May 11, 2013 · 1 comment · Fixed by #1807
Closed

Make sure to not hit open file descriptor limit #544

vojtajina opened this issue May 11, 2013 · 1 comment · Fixed by #1807

Comments

@vojtajina
Copy link
Contributor

The default limit on Moutain Lion is 256 and sometimes people get EMFILE error.

Let's make sure we are efficient.
Preprocessors should use in-memory cache.
Web server might do in-memory caching as well, considering number of captured browsers (eg. if there is only one browser, in-memory caching does not make any sense).

@vojtajina
Copy link
Contributor Author

The preprocessor is already using fs-graceful instead of fs. Let's do these:

  • globally replace fs with fs-graceful
  • change preprocessors to cache content (that will save at least 2 fs access per processed file; will also enable virtual/generated files)

@dignifiedquire dignifiedquire added this to the v1.0 milestone Jun 4, 2015
marcin992 added a commit to marcin992/karma that referenced this issue Nov 25, 2015
Karma sometimes exceeds the limit of open files in OS. Using of graceful-fs solves the problem.

closes karma-runner#544
@dignifiedquire dignifiedquire modified the milestone: v1.0 Jan 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants