Skip to content

Cherry pick #83981 to 25.5: Use information from cgroup (if applicable) to adjust memory tracker#84034

Merged
robot-ch-test-poll merged 2 commits intobackport/25.5/83981from
cherrypick/25.5/83981
Jul 19, 2025
Merged

Cherry pick #83981 to 25.5: Use information from cgroup (if applicable) to adjust memory tracker#84034
robot-ch-test-poll merged 2 commits intobackport/25.5/83981from
cherrypick/25.5/83981

Conversation

@robot-ch-test-poll
Copy link
Copy Markdown
Contributor

Original pull-request #83981

Do not merge this PR manually

This pull-request is a first step of an automated backporting.
It contains changes similar to calling git cherry-pick locally.
If you intend to continue backporting the changes, then resolve all conflicts if any.
Otherwise, if you do not want to backport them, then just close this pull-request.

The check results does not matter at this step - you can safely ignore them.

Troubleshooting

If the conflicts were resolved in a wrong way

If this cherry-pick PR is completely screwed by a wrong conflicts resolution, and you want to recreate it:

  • delete the pr-cherrypick label from the PR
  • delete this branch from the repository

You also need to check the Original pull-request for pr-backports-created label, and delete if it's presented there

The PR source

The PR is created in the CI job

azat added 2 commits July 18, 2025 15:45
Right now `memory_worker_correct_memory_tracker` always uses information
from jemalloc to update the `MemoryTracking`, but, this may be not good
enough in some cases (i.e. when server requested more memory then it
use) and may lead to `MEMORY_LIMIT_EXCEEDED` errors with
`MemoryTracking` > `RSS`.

So use information from cgroup if applicable, and if not, use
information from `jemalloc.allocated`.
Use information from cgroup (if applicable) to adjust memory tracker
@robot-ch-test-poll robot-ch-test-poll added pr-cherrypick Cherry-pick of merge-commit before backporting. Do not use manually - automated use only! do not test disable testing on pull request labels Jul 19, 2025
@robot-ch-test-poll robot-ch-test-poll merged commit 312dd5d into backport/25.5/83981 Jul 19, 2025
85 of 87 checks passed
@robot-ch-test-poll robot-ch-test-poll deleted the cherrypick/25.5/83981 branch July 19, 2025 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not test disable testing on pull request pr-cherrypick Cherry-pick of merge-commit before backporting. Do not use manually - automated use only!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants