You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are encountering an issue with Fluent Bit when using the filesystem storage. Our intention is to ensure that when Fluent Bit experiences an overload, logs will be stored in a file to prevent data loss. However, during our tests, it appears that Fluent Bit is not respecting the configured memory limits and continues to consume memory despite being configured to offload logs to the filesystem.
Observed behavior
The memory usage of the Fluent Bit container continues to grow despite the configuration of storage.max_chunks_up and storage.backlog.mem_limit.
Files are being written to the filesystem as .flb files in /var/log/flb-storage/, but the logs are also retained in memory, causing the memory to increase.
Expected behavior
Fluent Bit should respect the storage.max_chunks_up and storage.backlog.mem_limit and offload logs to the filesystem once the memory limit is reached, preventing further memory growth.
The text was updated successfully, but these errors were encountered:
Bug Report
Describe the bug
We are encountering an issue with Fluent Bit when using the filesystem storage. Our intention is to ensure that when Fluent Bit experiences an overload, logs will be stored in a file to prevent data loss. However, during our tests, it appears that Fluent Bit is not respecting the configured memory limits and continues to consume memory despite being configured to offload logs to the filesystem.
To Reproduce
Here is the configuration of fluentbit we used
python3 send_logs.py --logs_per_second 1000 --log_size_kb 1000 --url[ http://localhost:24224](http://localhost:24224/)
Observed behavior
The memory usage of the Fluent Bit container continues to grow despite the configuration of storage.max_chunks_up and storage.backlog.mem_limit.
Files are being written to the filesystem as .flb files in /var/log/flb-storage/, but the logs are also retained in memory, causing the memory to increase.
Expected behavior
Fluent Bit should respect the storage.max_chunks_up and storage.backlog.mem_limit and offload logs to the filesystem once the memory limit is reached, preventing further memory growth.
The text was updated successfully, but these errors were encountered: