On Fri, 6 Mar 2020 16:06:00 +0800
hero...@gentoo.org wrote:
> From: Benda Xu
>
> If ghc spawns too many C compilers, it will exhaust file descripters.
I don't think ghc spawns more than 1 parallel gcc per compiled haskell file.
I'd expect a small constant overhead of file descriptors per com
From: Benda Xu
If ghc spawns too many C compilers, it will exhaust file descripters.
In the reference, it was thought to be a macOS bug for aggressive fd
limits. But the ghc bug also applies to GNU/Linux, when ghc is
asked to spawn, for example 256, jobs.
This patch circumvents this