Repository navigation
ci: install core_dump.yaml so coredumps are not capped at 1 GiB - #105631
Merged
Algunenano merged 2 commits intoMay 26, 2026
Merged
Conversation
tests/config/config.d/core_dump.yaml was added in 41df483 to centralize the RLIMIT_CORE override for CI to 100 GiB, but it was never linked into /etc/clickhouse-server/config.d/ by tests/config/install.sh. The server therefore falls back to the C++ default of 1 GiB (programs/server/Server.cpp:2598), which truncates core dumps from large processes well before the relevant memory regions are written. Symptom: the encrypted core dump artifact attached to a stateless tests run decompresses to a coredump whose PT_LOAD headers reference offsets far past EOF. Most of the LOAD segments referenced in the headers, including the fault page and the crashing thread's signal stack, are missing. Link the YAML alongside the other config.d entries so the override actually takes effect. Refs: ClickHouse#105626
Contributor
|
Workflow [PR], commit [0469806] Summary: ✅ AI ReviewSummaryThis PR updates Final Verdict
|
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.
tests/config/config.d/core_dump.yamlwas added in 41df483 to centralize theRLIMIT_COREoverride for CI to 100 GiB, but it was never linked into/etc/clickhouse-server/config.d/bytests/config/install.sh. The server therefore falls back to the C++ default of 1 GiB (programs/server/Server.cpp:2598), which truncates core dumps from large processes well before the relevant memory regions are written.Symptom: the encrypted core artifact attached to a stateless tests run decompresses to a coredump whose PT_LOAD headers reference offsets far past EOF. Most LOAD segments referenced in the headers - including the fault page and the crashing thread's signal stack - are missing, so even with the correct binary and decryption key the dump is effectively unusable for post-mortem analysis.
Refs: #105626
cc @leshikus
Changelog category (leave one):