Struct procfs::process::Limits [−][src]
Process limits
For more details about each of these limits, see the getrlimit man page.
Fields
max_cpu_time: LimitMax Cpu Time
This is a limit, in seconds, on the amount of CPU time that the process can consume.
max_file_size: LimitMax file size
This is the maximum size in bytes of files that the process may create.
max_data_size: LimitMax data size
This is the maximum size of the process’s data segment (initialized data, uninitialized data, and heap).
max_stack_size: LimitMax stack size
This is the maximum size of the process stack, in bytes.
max_core_file_size: LimitMax core file size
This is the maximum size of a core file in bytes that the process may dump.
max_resident_set: LimitMax resident set
This is a limit (in bytes) on the processe’s resident set (the number of virtual pages resident in RAM).
max_processes: LimitMax processes
This is a limit on the number of extant process (or, more precisely on Linux, threads) for the real user rID of the calling process.
max_open_files: LimitMax open files
This specifies a value one greater than the maximum file descriptor number that can be opened by this process.
max_locked_memory: LimitMax locked memory
This is the maximum number of bytes of memory that may be locked into RAM.
max_address_space: LimitMax address space
This is the maximum size of the process’s virtual memory (address space).
max_file_locks: LimitMax file locks
This is a limit on the combined number of flock locks and fcntl leases that this process may establish.
max_pending_signals: LimitMax pending signals
This is a limit on the number of signals that may be qeueued for the real user rID of the calling process.
max_msgqueue_size: LimitMax msgqueue size
This is a limit on the number of bytes that can be allocated for POSIX message queues for the real user rID of the calling process.
max_nice_priority: LimitMax nice priority
This specifies a ceiling to which the process’s nice value can be raised using
setpriority or nice.
max_realtime_priority: LimitMax realtime priority
This specifies a ceiling on the real-time priority that may be set for this process using
sched_setscheduler and sched_setparam.
max_realtime_timeout: LimitMax realtime timeout
This is a limit (in microseconds) on the amount of CPU time that a process scheduled under a real-time scheduling policy may consume without making a blocking system call.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Limits
impl Send for Limits
impl Sync for Limits
impl Unpin for Limits
impl UnwindSafe for Limits
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,