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

holmes.WithMemDump(30, 25, 80, 2 * time.Minute),这个如图所示不会dump吗?那要怎样才会dump,我以为current>0会dump #144

Open
zww0305 opened this issue Aug 1, 2023 · 4 comments

Comments

@zww0305
Copy link

zww0305 commented Aug 1, 2023

image
@zww0305
Copy link
Author

zww0305 commented Aug 1, 2023

大神来神助攻一下,我把min调整为10这样子会dump的,想要试一下demo给的值,一直dump不出来,跑到服务崩了都不行,哪个环节出错了呢

@nejisama
Copy link
Contributor

nejisama commented Aug 1, 2023

config_min意思是 内存最少需要大于这个百分比才会dump。 增加这个限制的原因是认为实际使用场景下,内存占比较低的波动可以忽略

@zww0305
Copy link
Author

zww0305 commented Aug 1, 2023

有些懂了,我设置的是30,但是current获取到的没有超过30,想问一下这个监控的是物理内存还是虚拟内存

@nejisama
Copy link
Contributor

nejisama commented Aug 1, 2023

一般不会感知到虚拟内存吧。像在物理机或者虚拟机上,就是机器的内存;如果是docker里,那就是docker里的内存

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants