Repository navigation
CI: bump rss_limit_mb to 8192 for create_parser_fuzzer to stop chronic OOMs - #105252
Merged
yakov-olkhovskiy merged 1 commit intoMay 19, 2026
Merged
yakov-olkhovskiy merged 1 commit into
yakov-olkhovskiy merged 1 commit into
Conversation
…c OOMs `create_parser_fuzzer` has been failing chronically with `libFuzzer out-of-memory` for weeks, with the actual usage sitting just above the hardcoded 6144 Mb limit. CIDB shows 55 OOM hits across 49 unrelated PRs in the last 30 days (peaking at 17 hits / 17 PRs on 2026-05-17 alone). The reported `used:` values cluster around 6221-7329 Mb (avg 6554 Mb, p95 7329 Mb, max 8830 Mb). 54 of 55 observed OOMs (98%) fall under 8192 Mb. The 6144 limit is essentially at the typical working-set mean for this fuzzer, so any input that triggers even moderate extra allocations during parsing trips the limit. Bump `rss_limit_mb` from 6144 to 8192 to match the chronic working set, following the same precedent as PR ClickHouse#105134 which bumped `clickhouse_fuzzer` from 2048 to 4096 for the same class of "just-barely-over-the-limit" chronic OOMs. The limit is still active (8 GB is not unlimited), so genuine large memory regressions above 8 GB will still be caught. Sibling change: PR ClickHouse#104922 (merged) bumped `select_parser_fuzzer` via `max_parser_backtracks`. This PR addresses the parallel `create_parser_fuzzer` family.
Collaborator
Author
|
Pre-PR validation gate (per task policy):
Session: |
Collaborator
Author
|
cc @alexey-milovidov — this is the separate fix-PR you requested on #100938 for the chronic |
Contributor
|
Workflow [PR], commit [1f3a91e] Summary: ✅ AI ReviewSummaryThe PR changes Final Verdict
|
yakov-olkhovskiy
approved these changes
May 19, 2026
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.
create_parser_fuzzerhas been failing chronically withlibFuzzer out-of-memoryfor weeks, with the actual usage sitting just above the hardcoded 6144 Mb limit. CIDB shows 55 OOM hits across 49 unrelated PRs in the last 30 days (peaking at 17 hits / 17 PRs on 2026-05-17 alone).The reported
used:values cluster around 6221-7329 Mb:54 of 55 observed OOMs (98%) fall under 8192 Mb. The 6144 limit is essentially at the typical working-set mean for this fuzzer, so any input that triggers even moderate extra allocations during parsing trips the limit.
Fix
Bump
rss_limit_mbfrom 6144 to 8192 intests/fuzz/create_parser_fuzzer.options, following the same precedent as the recently merged PR #105134 which bumpedclickhouse_fuzzerfrom 2048 to 4096 for the same class of "just-barely-over-the-limit" chronic OOMs.The limit is still active (8 GB is not unlimited), so genuine large memory regressions above 8 GB will still be caught. Existing precedent for
rss_limit_mbvalues across the fuzz suite:clickhouse_fuzzer.optionsdata_type_deserialization_fuzzer.optionsexecute_query_fuzzer.optionscreate_parser_fuzzer.options(this PR)Sibling work
select_parser_fuzzerchronic timeouts viamax_parser_backtracks=10000. The same setting was already applied tocreate_parser_fuzzer; this PR addresses the parallel OOM symptom.rss_limit_mbbump pattern forclickhouse_fuzzer.Filed at the direct request of @alexey-milovidov on PR #100938 (#100938 (comment)).
CIDB query used
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Bump libFuzzer
rss_limit_mbto 8192 forcreate_parser_fuzzerto fix chronic OOMs at the previous 6144 Mb limit.Documentation entry for user-facing changes
Version info
26.5.1.861