Logo ProcessKit API Reference

Rlimit Type

One per-process rlimit as configured on a `Command`: the resource, and the soft and hard values to apply to it — the pair `setrlimit(2)` itself takes. Read back from `Command.Rlimits`; built by `Command.Rlimit`, which validates the pair at the builder boundary. The **soft** value is the limit actually in force (exceeding it raises this resource's signal or fails the operation); the **hard** value is the ceiling the child may raise its own soft value back up to. Both are in the resource's native unit (see `RlimitResource`), and `Soft` never exceeds `Hard`.

Instance members

Instance member Description

this.Hard

Full Usage: this.Hard

Returns: int64

The hard limit — the ceiling the child may raise its own soft value back to, in the resource's native unit. Never below `Soft`.

Returns: int64

this.Resource

Full Usage: this.Resource

Returns: RlimitResource

The resource this pair caps.

Returns: RlimitResource

this.Soft

Full Usage: this.Soft

Returns: int64

The soft limit — the value in force for the child, in the resource's native unit.

Returns: int64

Type something to start searching.