-
Notifications
You must be signed in to change notification settings - Fork 104
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
Tests don't clean up open descriptors #544
Comments
boltzmannrain
added a commit
to boltzmannrain/nixpkgs
that referenced
this issue
Nov 13, 2023
https://hydra.nixos.org/build/239024688/nixlog/2 https://hydra.nixos.org/build/239009073/nixlog/2 ``` thread '<unnamed>' panicked at 'Cannot build local tokio runtime: Os { code: 24, kind: Uncategorized, message: "Too many open files" }', /private/tmp/nix-build-cargo-raze-0.16.0.drv-0/cargo-raze-0.16.0-vendor.tar.gz/httpmock/src/lib.rs:1436:14 ``` Seems to be a typical darwin failure, some packages already bump file descriptors limit to 1024 (same as default in some Linux distros, default darwin value seems to be 256 these days) Also has a report upstream google/cargo-raze#544 ZHF: NixOS#265948
13 tasks
0x4d6165
pushed a commit
to 0x4d6165/nixpkgs
that referenced
this issue
Nov 20, 2023
https://hydra.nixos.org/build/239024688/nixlog/2 https://hydra.nixos.org/build/239009073/nixlog/2 ``` thread '<unnamed>' panicked at 'Cannot build local tokio runtime: Os { code: 24, kind: Uncategorized, message: "Too many open files" }', /private/tmp/nix-build-cargo-raze-0.16.0.drv-0/cargo-raze-0.16.0-vendor.tar.gz/httpmock/src/lib.rs:1436:14 ``` Seems to be a typical darwin failure, some packages already bump file descriptors limit to 1024 (same as default in some Linux distros, default darwin value seems to be 256 these days) Also has a report upstream google/cargo-raze#544 ZHF: NixOS#265948
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't know which part exactly is at fault here, but with default settings for some systems, tests hit the open file limit very quickly.
On a default macos machine:
Bumping up the limits lets the tests pass, but maybe they should clean up and not go into hundreds.
The text was updated successfully, but these errors were encountered: