AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The ulimit
settings to pass to the container.
Amazon ECS tasks hosted on Fargate use the default resource limit values set by the
operating system with the exception of the nofile
resource limit parameter
which Fargate overrides. The nofile
resource limit sets a restriction on the
number of open files that a container can use. The default nofile
soft limit
is 1024
and the default hard limit is 65535
.
You can specify the ulimit
settings for a container in a task definition.
Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.dll
Version: 3.x.y.z
public class Ulimit
The Ulimit type exposes the following members
Name | Description | |
---|---|---|
Ulimit() |
Name | Type | Description | |
---|---|---|---|
HardLimit | System.Int32 |
Gets and sets the property HardLimit.
The hard limit for the |
|
Name | Amazon.ECS.UlimitName |
Gets and sets the property Name.
The |
|
SoftLimit | System.Int32 |
Gets and sets the property SoftLimit.
The soft limit for the |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5