Skip to main content

PID1_NOFILE

Constant PID1_NOFILE 

Source
pub const PID1_NOFILE: u64 = _ /* 1_048_576u64 */;
Expand description

What PID 1 sets both limits to. The kernel’s fs.nr_open default is 1 048 576 and a setrlimit above it is refused, so this is the ceiling a stock kernel accepts; a smaller nr_open is honoured by the fallback in [raise].