Mads
Multi-Agent Distributed System
Loading...
Searching...
No Matches
Mads::detail::FdLimits Struct Reference

#include <fd_limit.hpp>

Public Attributes

bool supported = false
 
uint64_t soft = 0
 
uint64_t hard = 0
 

Detailed Description

The descriptor limits in force for this process. supported is false where the concept does not apply (Windows), in which case soft/hard are 0 and nothing should be reported as a limit.

Definition at line 85 of file fd_limit.hpp.

Member Data Documentation

◆ hard

uint64_t Mads::detail::FdLimits::hard = 0

The ceiling this process may raise soft to without privileges. Already clamped to the kernel's own per-process cap (fs.nr_open on Linux, kern.maxfilesperproc on macOS), so a plan built from it never proposes a target that setrlimit() would reject.

Definition at line 92 of file fd_limit.hpp.

Referenced by Mads::detail::describe_fd_limits(), Mads::detail::plan_fd_limit(), and Mads::detail::query_fd_limits().

◆ soft

uint64_t Mads::detail::FdLimits::soft = 0

◆ supported

bool Mads::detail::FdLimits::supported = false

The documentation for this struct was generated from the following file: