Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GEODE-9443: Increase pid_max in CI images #6710

Merged
merged 1 commit into from
Jul 21, 2021

Conversation

demery-pivotal
Copy link
Contributor

Certain Geode tests create a lot of threads. When these tests run in
parallel with many other tests (as they do in CI), the whole set of
concurrently running tests can overwhelm the Linux kernel's ability to
assign PIDs to new threads. When this happens, test processes, Gradle
processes, and other processes can become unable to create new threads.

The relevant system parameter is kernel.pid_max. In our CI images,
pid_max is 98,304.

This commit raises CI images' pid_max to 983040 (10x the default
value). A build can run 24 concurrent instances of even our most
thread-heavy tests without exceeding this threshold.

Co-authored-by: Dale Emery demery@vmware.com

Certain Geode tests create a lot of threads. When these tests run in
parallel with many other tests (as they do in CI), the whole set of
concurrently running tests can overwhelm the Linux kernel's ability to
assign PIDs to new threads. When this happens, test processes, Gradle
processes, and other processes can become unable to create new threads.

The relevant system parameter is `kernel.pid_max`. In our CI images,
`pid_max` is 98,304.

This commit raises CI images' `pid_max` to 983040 (10x the default
value). A build can run 24 concurrent instances of even our most
thread-heavy tests without exceeding this threshold.

Co-authored-by: Dale Emery <demery@vmware.com>
@demery-pivotal demery-pivotal merged commit 4338015 into apache:develop Jul 21, 2021
@demery-pivotal demery-pivotal deleted the geode-9443-pid-max branch July 21, 2021 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants