-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Store: Document --chunk-pool-size better #2057
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm this change makes the comment more confusing IMO
@squat how about |
Not sure about the |
I agree with @GiedriusS 👍 |
I think it means some fixed memory during thanos running, not the cache memory. |
That's the problem @daixiang0. It's not a fixed memory. It does not allocate that much as you put, it's only use a maximum of configured memory for reusable bytes pool. And if it will go beyond that for chunks it will fail the request. In theory. In practice, I really could not see our:
But that's another story (: |
@bwplotka does it mean that memory leak or the speed of system clean cache memory is faster than thanos consumes? |
No, it means opposite: garbage collection (cleaning) is slower than our allocations, even though we don't need some memory. That's why we pool memory. |
Signed-off-by: Xiang Dai <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! LGTM 👍
Signed-off-by: Xiang Dai [email protected]
Fix #2042