pingcap / pingcap/tiflash

Memory tracker accuracy is much larger than limit

Open
#6,161 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

affects-6.4 component/compute may-affects-4.0 may-affects-5.0 may-affects-5.1 may-affects-5.2 may-affects-5.3 may-affects-5.4 may-affects-6.0 may-affects-6.1 may-affects-6.2 may-affects-6.3 severity/moderate type/bug
Dominant language
C++
Stars
1k
Forks
423
Avg merge
1d 15h
Merged PRs (30d)
24

Description

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)
Message: "other error for mpp stream: From MPP<query:436761565050699778,task:7>: Code: 0, e.displayText() = DB::Exception: Memory tracker accuracy  (total): fault injected. real_rss (19.37 GiB) is much larger than limit (16.00 GiB), e.what() = DB::Exception
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiFlash version? (Required)

master

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported memory-tracker error on TiFlash master and trace the code that compares real_rss with the configured limit. The issue provides no file or test locations; done should include an identified cause, a verified correction to the reported accounting behavior, and regression coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend, databases, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.