NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.41k stars 14.36k forks source link

Build failure: paperless-ngx #361006

Open Kernald opened 2 days ago

Kernald commented 2 days ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. build paperless-ngx from release-24.11

Build log

https://hydra.nixos.org/build/280100659/nixlog/1

Additional context

Metadata

Notify maintainers

@leona-ya @SuperSandro2000 @erikarvstedt


Note for maintainers: Please tag this issue in your PR.


Add a :+1: reaction to issues you find important.

felbinger commented 2 days ago

Builds on my machine; Might "Too many open files" indicate a problem with the build host?

Kernald commented 2 days ago

For what it's worth, I'm getting the same error on my NixOS machine. That's with 9223372036854775807 as my /proc/sys/fs/file-max, which intuitively sounds like a lot... lsof | wc -l gives me 679705, so nowhere close to the actual limit. I wonder if Nix builds run in a more limited sandbox?

SuperSandro2000 commented 1 day ago

I have been deploying paperless-ngx since months on unstable without any issues so I am wondering from where this is coming from.

puyral commented 11 hours ago

I have the same problem with what looks to me to be the same error log.

Doubling the number of available open file didn't resolve it (so I either failed at that, or the sandboxing does something)

The last working commit for me predates 24.11 and is 6f6076c37180ea3a916f84928cf3a714c5207a30 .

SuperSandro2000 commented 48 minutes ago

I saw a similar problem today with black so it could be pytest or kennel related which I don't hop it is.