https://issues.dlang.org/show_bug.cgi?id=24715
Issue ID: 24715
Summary: std/process: Default to libc `closefrom` in
spawnProcessPosix
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
The current implementation of spawnProcessPosix is broken on systems with a
large `ulimit -n` because it always OOMs making it impossible to spawn
processes. Using the libc implementation, when available, for doing file
descriptor operations en-mass solves this problem.
--