Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

query with memory usage 0 be killed #42664

Closed
XuHuaiyu opened this issue Mar 29, 2023 · 0 comments · Fixed by #42803
Closed

query with memory usage 0 be killed #42664

XuHuaiyu opened this issue Mar 29, 2023 · 0 comments · Fixed by #42803
Labels
severity/moderate sig/execution SIG execution type/bug The issue is confirmed as a bug.

Comments

@XuHuaiyu
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. Queries with memory usage less than 128MB would be recorded be global memory controller.
  2. But when tidb_server_memory_limit is reached, the memory usage of the query may be less than 128MB
  3. We do not need to kill such queries.
    image

2. What did you expect to see? (Required)

3. What did you see instead (Required)

4. What is your TiDB version? (Required)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/moderate sig/execution SIG execution type/bug The issue is confirmed as a bug.
Projects
None yet
2 participants