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

[Bug]: create accounts 50 concurrent number test mo oom #20839

Open
1 task done
heni02 opened this issue Dec 19, 2024 · 1 comment
Open
1 task done

[Bug]: create accounts 50 concurrent number test mo oom #20839

heni02 opened this issue Dec 19, 2024 · 1 comment
Assignees
Labels
kind/bug Something isn't working severity/s0 Extreme impact: Cause the application to break down and seriously affect the use
Milestone

Comments

@heni02
Copy link
Contributor

heni02 commented Dec 19, 2024

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

2.0-dev

Commit ID

01b5a6c

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

测试场景:create account 并发50创建100000个租户,运行十分钟后mo oom,运行期间内存观察一直持续增长状态
oom时间15:22:39
image
show accounts;
企业微信截图_15fa516f-1f0d-48bc-b014-836cbee534e3

15:20 profile:
LOG_7c4dccb4-4d3c-41f8-b482-5251dc7a41bf_malloc_0193ddca-49cc-760d-b936-f1709f1e7682.gz
LOG_7c4dccb4-4d3c-41f8-b482-5251dc7a41bf_heap_0193ddca-4134-7762-8720-bfd83159d903.gz
LOG_7c4dccb4-4d3c-41f8-b482-5251dc7a41bf_cpu_0193ddca-8608-77d9-a599-a7cd863e3fd7.gz

Expected Behavior

No response

Steps to Reproduce

create account 并发50创建100000个租户(如需要联系我sh脚本)

Additional information

No response

@heni02 heni02 added kind/bug Something isn't working severity/s0 Extreme impact: Cause the application to break down and seriously affect the use labels Dec 19, 2024
@heni02 heni02 added this to the 2.1.0 milestone Dec 19, 2024
@daviszhen daviszhen assigned ck89119 and unassigned ck89119 and daviszhen Dec 23, 2024
@ck89119
Copy link
Contributor

ck89119 commented Dec 24, 2024

从profile文件可以看出 lockTableAllocator.getLockTablesLocked 这个函数占用了大量的内存:
image

对应代码:
image

@ck89119 ck89119 assigned iamlinjunhong and unassigned ck89119 Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working severity/s0 Extreme impact: Cause the application to break down and seriously affect the use
Projects
None yet
Development

No branches or pull requests

4 participants