-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Excessive memory usage although filesystem storage is enabled #6082
Comments
Do you need to configure the memory limits as well as the filesystem ones? From: https://docs.fluentbit.io/manual/administration/buffering-and-storage#buffering-and-memory
And then later on, I think this is what you're after:
The docs can always be improved I think so worth a docs PR with any suggestions here: https://github.com/fluent/fluent-bit-docs/blob/master/administration/buffering-and-storage.md |
@patrick-stephens Did you read and answer the config file created above? |
We found out, that this issue is caused by the last line |
@drbugfinder-work Thank you for information.
|
…eger is true (fluent#6082) Signed-off-by: Takahiro Yamashita <[email protected]>
…eger is true (#6082) Signed-off-by: Takahiro Yamashita <[email protected]>
…eger is true (fluent#6082) Signed-off-by: Takahiro Yamashita <[email protected]>
…eger is true (#6082) Signed-off-by: Takahiro Yamashita <[email protected]>
…eger is true (fluent#6082) Signed-off-by: Takahiro Yamashita <[email protected]> Signed-off-by: Manal Geries <[email protected]>
…eger is true (fluent#6082) Signed-off-by: Takahiro Yamashita <[email protected]> Signed-off-by: root <[email protected]>
Bug Report
Describe the bug
We are trying to configure filesystem caching to limit the memory usage of Fluent Bit that it will not be OOM-killed in K8s environment.
However, we observe huge memory consumption over time, even with the (slightly changed) examples from the documentation (https://docs.fluentbit.io/manual/administration/buffering-and-storage#output-section-configuration):
To Reproduce
fluent-bit.conf:
Expected behavior
We expect that the output chunks are being written to the filesystem (up to 10GB in this case) and the memory usage of Fluent Bit should be constant (anywhere below ~200MB).
Actual behavior
Memory consumption grows way over every expected limit (in this case 20,3GB RSS) after running the above configuration over one night. We cannot see any filesystem usage except from the dummy.0 input plugin, which always uses 500kb-2MB.
Screenshots
Your Environment
Additional context
The text was updated successfully, but these errors were encountered: