Skip to content
Docs Try Aspire

Ulimit Properties

Class Properties 2 members
Represents the configuration for system resource limits (ulimits) for a container.
Hard Section titled Hard nullable int?
Gets or sets the hard limit for the resource control.
public int? Hard { get; set; }
The hard limit defines the maximum value that cannot be exceeded. It is usually set by an administrator and imposes a strict upper boundary. This property can be null, indicating no hard limit is set.
Soft Section titled Soft nullable int?
Defines the soft limit for the Ulimit configuration. The soft limit is the value for resource restrictions that a process is allowed to increase up to the hard limit. This property is nullable, which indicates that this configuration might not be set.
public int? Soft { get; set; }