Skip to content

enhancement: Fix long build times for AL2023 by setting nofile limit#1135

Merged
ShelbyZ merged 1 commit into
aws:mainlinefrom
ShelbyZ:ulimit-fix
May 13, 2026
Merged

enhancement: Fix long build times for AL2023 by setting nofile limit#1135
ShelbyZ merged 1 commit into
aws:mainlinefrom
ShelbyZ:ulimit-fix

Conversation

@ShelbyZ
Copy link
Copy Markdown
Contributor

@ShelbyZ ShelbyZ commented May 12, 2026

Summary

Long build times on AL2023 image (4-6 hours) seem to be related to the default NOFile limit set to infinity. By setting a distinct limit in the dockerfile during deps image build this is not an issue - docker/buildx#379

We fixed our infrastructure issue which was incompatible when the changes were originally introduced (Container --> Instance build) which caused issues when this was originally introduced.

Issue #, if available:

Testing

make release and make debug around normal 5-10min system depending...

Description for the changelog

enhancement: Fix long build times for AL2023 by setting nofile limit

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ShelbyZ ShelbyZ requested a review from a team as a code owner May 12, 2026 14:47
@ShelbyZ ShelbyZ changed the title Enhancement: Fix long build times for AL2023 by setting nofile limit enhancement: Fix long build times for AL2023 by setting nofile limit May 12, 2026
@ShelbyZ ShelbyZ merged commit d7fe01c into aws:mainline May 13, 2026
2 of 3 checks passed
@ShelbyZ ShelbyZ deleted the ulimit-fix branch May 13, 2026 16:15
TheanLim pushed a commit that referenced this pull request May 15, 2026
TheanLim pushed a commit that referenced this pull request May 15, 2026
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.

3 participants