aws / aws/containers-roadmap

[Fargate] [request]: Fargate sysctls support for net.core

Open
#2,368 5 comments 13 reactions 1 assignee Claimed by @herrhound View on GitHub
Fargate Proposed
Dominant language
Shell
Stars
5.4k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

**Tell us about your request**
Add ability to adjust `net.core.*` parameters

**Which service(s) is this request for?**
ECS, Fargate

**Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?**
We are adding HTTP/3 support into our service and need to adjust a few `net.core.*` parameters. The documentation [here](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_SystemControl.html) says

```
Valid network namespace values: Sysctls that start with "net.*"

All of these values are supported by Fargate.
```

The task fails to start while trying to set these parameters:
```
"systemControls": [
{
"namespace": "net.core.rmem_max",
"value": "7500000"
},
{
"namespace": "net.core.wmem_max",
"value": "7500000"
}
],
```

With the following error messages:
```
runc create failed: unable to start container process: error during container init: open /proc/sys/net/core/rmem_max: no such file or directory
runc create failed: unable to start container process: error during container init: open /proc/sys/net/core/wmem_max: no such file or directory
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.