-
-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent slowdown in yum due to high file descriptor count
Set the maximum number of file descriptors to 1024 before going through the `yum install` step of the build, only in case `yum_requirements.txt` is present in the recipe. This is done to mitigate a bug with old versions of rpm such as the one shipped with the Centos7 container. See https://bugzilla.redhat.com/show_bug.cgi?id=1537564
- Loading branch information
1 parent
9ff0aa2
commit 4f909fd
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
**Added:** | ||
|
||
* <news item> | ||
|
||
**Changed:** | ||
|
||
* Changed the build_steps.sh template so that it sets the number of maximum file | ||
descriptors to 1024. This is done to mitigate a bug in old rpm versions (such | ||
as the one shipped with the Centos7 container) that cause the yum install step | ||
to take tremendously longer than necessary. See https://bugzilla.redhat.com/show_bug.cgi?id=1537564 | ||
|
||
**Deprecated:** | ||
|
||
* <news item> | ||
|
||
**Removed:** | ||
|
||
* <news item> | ||
|
||
**Fixed:** | ||
|
||
* <news item> | ||
|
||
**Security:** | ||
|
||
* <news item> |