Skip to content

Fix prlimit memory limit for qemu-x86_64-static in tests - #96592

Merged
alexey-milovidov merged 3 commits into
masterfrom
fix-prlimit-qemu-rlimit-rss
Feb 11, 2026
Merged

alexey-milovidov merged 3 commits into
masterfrom
fix-prlimit-qemu-rlimit-rss

Conversation

@alexey-milovidov

@alexey-milovidov alexey-milovidov commented Feb 10, 2026 •

Copy link
Copy Markdown
Member

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

Changelog category (leave one):

  • CI Fix or Improvement (changelog entry is not required)

Version info

  • Merged into: 26.2.1.576

`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]>
@clickhouse-gh

clickhouse-gh Bot commented Feb 10, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [2fca6c8]

Summary: ❌

job_name test_name status info comment
Stateless tests (amd_asan, flaky check) failure
03590_simdjson_fallback FAIL cidb
03590_simdjson_fallback FAIL cidb
03590_simdjson_fallback FAIL cidb
03590_simdjson_fallback FAIL cidb
03590_simdjson_fallback FAIL cidb
03590_simdjson_fallback FAIL cidb
03590_simdjson_fallback FAIL cidb
03590_simdjson_fallback FAIL cidb
03590_simdjson_fallback FAIL cidb
03590_simdjson_fallback FAIL cidb
40 more test cases not shown
Stress test (arm_asan) failure
AddressSanitizer (STID: 1817-323f) FAIL cidb

@clickhouse-gh clickhouse-gh Bot added the pr-ci label Feb 10, 2026
@alexey-milovidov

Copy link
Copy Markdown
Member Author

Ok. The flaky check ignores the tags, but it does not OOM.

@alexey-milovidov
alexey-milovidov merged commit 899c432 into master Feb 11, 2026
128 of 130 checks passed
@alexey-milovidov
alexey-milovidov deleted the fix-prlimit-qemu-rlimit-rss branch February 11, 2026 15:10
@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-synced-to-cloud The PR is synced to the cloud repo label Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-ci pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants