-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[build] add MADVDONTNEED to builds #23001
[build] add MADVDONTNEED to builds #23001
Conversation
Pinging @elastic/integrations (Team:Integrations) |
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Steps errorsExpand to view the steps failures
|
Test | Results |
---|---|
Failed | 0 |
Passed | 17500 |
Skipped | 1383 |
Total | 18883 |
So, we're building into the docker images:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks for adding this! Only a comment about the defaults in debian init files.
@jsoriano thanks, fixed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
* add MADVDONTNEED to builds * delay setting godebug in init scripts (cherry picked from commit 8a68dc9)
* add MADVDONTNEED to builds * delay setting godebug in init scripts (cherry picked from commit 8a68dc9)
What does this PR do?
This adds
GODEBUG="madvdontneed=1"
to the docker images and init scripts.Note that I haven't tested this yet as I'm not sure what to check beyond "the env var exists in the final builds"
Why is it important?
See #22786 From the linked issue:
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Related issues