pub fn fd_limits() -> (Option<u64>, Option<u64>)Expand description
The process’s RLIMIT_NOFILE, soft limit first and hard limit second.
None in either place is RLIM_INFINITY, exactly as fd_soft_limit
describes for the soft one. The pair is what volto --diagnostics prints,
because the hard limit is what says whether a soft limit that is too low can
be raised on this host at all or needs the service manager changed.