August 23 [Issue 24715] std/process: Default to libc `closefrom` in spawnProcessPosix | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24715 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> --- @the-horo updated dlang/phobos pull request #9048 "std/process: Default to libc closefrom in spawnProcessPosix" fixing this issue: - Fix Bugzilla 24715 - std/process: Default to libc `closefrom` in spawnProcessPosix 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. Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me> https://github.com/dlang/phobos/pull/9048 -- |
October 03 [Issue 24715] std/process: Default to libc `closefrom` in spawnProcessPosix | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24715 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/phobos pull request #9048 "std/process: Default to libc closefrom in spawnProcessPosix" was merged into master: - 48d581a1f509a7a302ea893e28939edb5b130622 by Andrei Horodniceanu: Fix Bugzilla 24715 - std/process: Default to libc `closefrom` in spawnProcessPosix 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 partially solves this problem. Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me> https://github.com/dlang/phobos/pull/9048 -- |
Copyright © 1999-2021 by the D Language Foundation