-
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
Parser Filter on Docker reduces Fluent Bit benchmark performance from 100MB/s to 15MB/s #7633
Comments
What application is writing to the filesystem? Also is it running on the same Operating System as where Fluent Bit is running? Lastly, what are the specifications of your server? |
yes
|
What disk is it using? |
which command do you want me run for that? Also, I forgot to mention: once I remove |
No specific command, more if it is using SSD / HDD and if we are facing limitations of I/O. Based on your next comment though probably not relevant
Yes very helpful :), what happens if you add the Docker Parser in the Input tail? |
same issue |
One more note: [tail.0] failed buffer write, retries=0 not sure what does it mean |
Could you elaborate on what you mean by metrics seem to match log generator numbers? Is this saying you are not seeing a performance bottleneck?
|
For 2.1.6 when I set
I also see On a side note: I noticed multiple time a problem when if I stop log generator, FluentBit also stops processing tail input, even though I see it didn't process all the records according to metrics stats. If I restart FluentBit I see it immediately processes the rest of the file with logs. |
Hi @mselinger75 |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the |
This issue was closed because it has been stalled for 5 days with no activity. |
Bug Report
Describe the bug
I have a log generator which produces 30mb/sec logs to the file. Then I have FluentBit setup to tail this file, and send to NULL output.
When I look at FluentBit metrics I see that number of logs processed by tail input is way less than number of logs generated.
I've tried with different log volumes:
100mb/sec, 50mb/sec, 30mb/sec, 15mb/sec. The only rate I see FluentBit is able to keep up with is 15mb/sec.
I tested on versions 1.9.8 and 2.1.6, for 2.1.6 I've tried
threaded on
- didn't help.For 2.1.6 when I set
threaded on
- I see a lot of errors in FluentBit log:To Reproduce
My config:
Run FluentBit with config above:
bin/fluent-bit -c /usr/local/home/test/fluentbit/fluent-bit.conf
Generate logs to
/usr/local/home/test/fluentbit/output.txt
Check that FluentBit metrics are behind the logs volume by looking at
http://localhost:2020/api/v1/metrics
Expected behavior
FluentBit should be able to keep up with logs volume
Your Environment
Debian 6.1.25-1rodete1 (2023-05-11) x86_64 GNU/Linux
Both 1.9.8 and 2.1.6
The text was updated successfully, but these errors were encountered: