Skip to main content

TARGET_NOFILE

Constant TARGET_NOFILE 

Source
const TARGET_NOFILE: u64 = 8192;
Expand description

Target soft RLIMIT_NOFILE value. Well below macOS kern.maxfilesperproc (typically 184320) and Linux containers’ usual hard caps (1024-65536). Capped against the process’s hard limit at call time so a tighter inherited hard cap clamps the effective bump gracefully.