Bug#966072: lintian: Cannot pipe() - Too many open files
Hi Andreas,
On Wed, Jul 22, 2020 at 2:03 PM Andreas Beckmann <anbe@debian.org> wrote:
>
> Everything is on defaults, i.e. ulimit -n returns 1024
Our current best guess is that you are running out because IO::Async
allocates two file descriptors for each new process. The check
documentation/manual always spawned an unlimited number of processes
and reaped them later, That is probably why it became a problem now
with your package, which contains about 2K files. I have not counted
the manual pages in your package.
We will try to address the issue by limiting the number of processes
spawned in that check. The plan is to use something like:
(fmap_void { $loop->run_process(...) } concurrent => 8, foreach =>
[ ... ])->retain
Credit for that idea goes to tom_m from IRC#io-async.
> (and the just uploaded -8, too)
I do not see it on my mirror yet, but I am pretty sure it will run here too.
Kind regards
Felix Lechner
Reply to: