Repository navigation
Fix prlimit memory limit for qemu-x86_64-static in tests - #96592
Merged
Merged
Conversation
`prlimit -m` sets `RLIMIT_RSS`, which has been a no-op on Linux since 2.6.x (the kernel ignores it). This is already documented in our own build scripts (`cmake/heavy_build_check_scripts/prlimit_generic.sh`). Replace with `--data` (`RLIMIT_DATA`), which since Linux 4.7 also limits `mmap` anonymous private mappings, making it effective. https://s3.amazonaws.com/clickhouse-test-reports/json.html?REF=master&sha=9e5869ea3a97679235c424b43ea6b16955ec73ac&name_0=MasterCI&name_1=Stateless%20tests%20%28amd_tsan%2C%20s3%20storage%2C%20parallel%2C%202%2F2%29 Co-Authored-By: Claude Opus 4.6 <[email protected]>
Contributor
|
Workflow [PR], commit [2fca6c8] Summary: ❌
|
Member
Author
|
Ok. The flaky check ignores the tags, but it does not OOM. |
1 task done
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.
prlimit -msetsRLIMIT_RSS, which has been a no-op on Linux since 2.6.x (the kernel ignores it). This is already documented in our own build scripts (cmake/heavy_build_check_scripts/prlimit_generic.sh).Replace with
--data(RLIMIT_DATA), which since Linux 4.7 also limitsmmapanonymous private mappings, making it effective.https://s3.amazonaws.com/clickhouse-test-reports/json.html?REF=master&sha=9e5869ea3a97679235c424b43ea6b16955ec73ac&name_0=MasterCI&name_1=Stateless%20tests%20%28amd_tsan%2C%20s3%20storage%2C%20parallel%2C%202%2F2%29
Changelog category (leave one):
Version info
26.2.1.576