aws / aws/containers-roadmap

[Fargate] [Kernel.pid_max]: To be able to set kernel.pid_max in systemControls

Open
#2,156 0 comments 4 reactions 0 assignees View on GitHub
Fargate Proposed
Dominant language
Shell
Stars
5.4k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

### Community Note

* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue or have submitted a pull request, please leave a comment

**Tell us about your request**
I want to be able to control and make the kernel.pid_max higher in a Fargate instance, because the current pid_max value is what controls the number of LDW, lightweight threads a program can create.
I'm running load test in Fargate and I want to be able to start a lot of threads.

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

**Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?**
It's impossible to start a serious load test in Fargate because at certain high Request Per Second, e.g. 10k RPS, my java program hits the current Kernel PID Max of around 30k threads. There's no way I can increase this value and my program shuts down.

**Are you currently working around this issue?**
I cannot work around it, I tried multiple things such as increasing memory etc, but all that does is increase other system limit but not PID Max

Contributor guide

Open the contributing guide

Research direction

Start with the request to control kernel.pid_max in Fargate systemControls and the described Java load-test failure at around 30k threads. No repository files, tests, or entry points are named; done would require Fargate to support raising this limit or documenting the supported behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, java, linux
Domain
cloud, infrastructure, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.