enhancement: Fix long build times for AL2023 by setting nofile limit#1135
Merged
Conversation
prateekchaudhry
approved these changes
May 12, 2026
singholt
approved these changes
May 13, 2026
TheanLim
pushed a commit
that referenced
this pull request
May 15, 2026
This reverts commit d7fe01c.
TheanLim
pushed a commit
that referenced
this pull request
May 15, 2026
This reverts commit d7fe01c.
TheanLim
added a commit
that referenced
this pull request
May 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.