Skip to main content

raise_open_file_limit

Function raise_open_file_limit 

Source
pub fn raise_open_file_limit() -> Result<Raised>
Expand description

Raises the soft RLIMIT_NOFILE to the hard limit, never lowering it. launchd starts the daemon at 256 and systemd at 1024, while every tantivy segment keeps its files open, so two indexes alone can exhaust 256.