Repository navigation
Run distributed-plan sanitizer stateless on runner with more mem instead of cutting concurrency - #111789
Merged
Conversation
… cutting concurrency #110574 fixed the `MEMORY_LIMIT_EXCEEDED` (Code 241) flood in "Stateless tests (amd_asan_ubsan, distributed plan, parallel)" by cutting the job's test concurrency to `0.22 * CPU` (7 workers on the 32-vCPU runner), giving it a slightly higher `0.75` memory ratio, and raising its `timeout` to 3.5h. That kept the job green but made it much slower, and the tuning showed the concurrency lever barely moved peak server RSS anyway (43.01 -> 41.71 GiB across 11 -> 7 workers), because the ASan RSS baseline accumulates with work done, not concurrency. Fix it the right way instead: move the job from `AMD_MEDIUM_CPU` (32 vCPU, 64 GiB) to `AMD_LARGE` (same 32 vCPU, but 128 GiB RAM). With double the RAM the sanitizer `max_server_memory_usage_to_ram_ratio` cap of `0.7` sits well above the job's aggregate RSS at full concurrency, so the suite runs at the default `0.6 * CPU` workers and the default 2.5h timeout without overrunning the cap. - `ci/defs/job_configs.py`: `runs_on` `AMD_MEDIUM_CPU` -> `AMD_LARGE`; drop the 3.5h `timeout` override (restore the default). - `ci/jobs/functional_tests.py`: drop the distributed-plan `nproc` cut and the `is_distributed_plan` plumbing; drop the distributed-plan `0.75` memory-ratio special case (all sanitizer runs keep the `0.7` cap). The general sanitizer `0.7` memory cap and the all-config-tree `set_memory_ratio` / bugfix-validation handling from #110574 stay - those are the host-OOM ("Server died") fix, not the slowness cause. Related: #110574 Related: #108689 Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Contributor
|
Workflow [PR], commit [e5c71f4] Summary: ✅ AI ReviewSummaryThis PR moves the Missing context / blind spots
Final Verdict
|
maxknv
enabled auto-merge
July 24, 2026 17:15
maxknv
disabled auto-merge
July 24, 2026 19:35
maxknv
enabled auto-merge
July 24, 2026 19:36
This was referenced Jul 26, 2026
Closed
This was referenced Jul 27, 2026
Merged
This was referenced Aug 4, 2026
zeekay
pushed a commit
to hanzoai/datastore
that referenced
this pull request
Sep 11, 2026
…lan-large-runner Run distributed-plan sanitizer stateless on runner with more mem instead of cutting concurrency
This was referenced Oct 16, 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.
Reimplements #110574. That PR fixed the
MEMORY_LIMIT_EXCEEDED(Code 241) flood in Stateless tests (amd_asan_ubsan, distributed plan, parallel) by cutting the job's test concurrency to0.22 * CPU(7 workers on the 32-vCPU runner), giving it a higher0.75memory ratio, and raising itstimeoutto 3.5h. That kept the job green but made it much slower, and its own tuning runs showed the concurrency lever barely moved peak server RSS anyway (43.01 -> 41.71 GiB across 11 -> 7 workers) - the ASan RSS baseline accumulates with work done, not concurrency.Fix it the right way: move the job from
AMD_MEDIUM_CPU(32 vCPU, 64 GiB) toAMD_LARGE(same 32 vCPU, but 128 GiB RAM). With double the RAM the sanitizermax_server_memory_usage_to_ram_ratiocap of0.7sits well above the job's aggregate RSS at full concurrency, so the suite runs at the default0.6 * CPUworkers and the default 2.5h timeout without overrunning the cap.ci/defs/job_configs.py:runs_onAMD_MEDIUM_CPU->AMD_LARGE; drop the 3.5htimeoutoverride (restore the default).ci/jobs/functional_tests.py: drop the distributed-plannprocconcurrency cut and theis_distributed_planplumbing; drop the distributed-plan0.75memory-ratio special case (all sanitizer runs keep the0.7cap)..github/workflows/*.yml.The general sanitizer
0.7memory cap and the all-config-treeset_memory_ratio/ bugfix-validation handling from #110574 stay - those are the host-OOM (Server died) fix, not the slowness cause.Related: #110574
Related: #108689
Changelog category (leave one):
Version info
26.8.1.118(included in26.8and later)