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

rocksdb version metaserver takes up a lot of memory #1381

Closed
YunhuiChen opened this issue Apr 29, 2022 · 1 comment
Closed

rocksdb version metaserver takes up a lot of memory #1381

YunhuiChen opened this issue Apr 29, 2022 · 1 comment
Assignees
Labels
bug Something isn't working need test Completion of development, requires QA verification

Comments

@YunhuiChen
Copy link
Contributor

Describe the bug (描述bug)
rocksdb version metaserver takes up a lot of memory

To Reproduce (复现方法)

image
image

Expected behavior (期望行为)

Versions (各种版本)
OS:
Compiler:
branch:
commit id:

Additional context/screenshots (更多上下文/截图)

@Wine93
Copy link
Contributor

Wine93 commented May 6, 2022

The bug fixed, for test, i deploy a cluster and run mdtest to create many files for monitor metaserver's memory. the cluster
running about 17 hours and creates 7633225 files, and the metaserver cost about 5GB memory, it's what we expected.
the below images will explain it.

  • mdtest:
$ mdtest -C -F -L -z 4 -b 10 -I 10000 -d /path/to/mount -w 1024
  • number of files:
    image

  • cluster status:
    image

  • metaserver memory usage:
    image

  • jeprof:
    image

@Wine93 Wine93 added the need test Completion of development, requires QA verification label May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need test Completion of development, requires QA verification
Projects
None yet
Development

No branches or pull requests

2 participants