-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fluentd 0.14.13 gets buffer overflow errors with the same settings as Fluentd 0.12.32 #1485
Comments
The 0.14 release note seems to imply there are some changes made to the buffer flushing mechanism. Would any of those changes cause this issue? We'd like to upgrade to 0.14 as soon as possible, but at the same time we are a bit concerned since it seems less robust. |
Yes, first implementation of v0.14's buffer focuses on flexibility and reliablity. |
If you give me data set, configuration and traffic detail, |
Using ruby 2.4 may mitigate the problem because ruby 2.4 is faster than ruby 2.3 in almost cases. |
Hi @repeatedly, thanks for taking a look! For our load testing, we are tailing a 109M log file (1,000,024 lines) with logs like below:
The config is the same as in the previous comments. Without buffer overflow errors, it takes around 6 mins for our backend API to consume all these logs. |
@repeatedly The problem is not with the performance. Outage will happen and the queue will be blocked no matter how good fluentd is :) We want to make sure that fluentd survives this kind of problem. |
I will work on it after one bug fixed. |
@repeatedly Sounds good. Thanks! |
Hi @repeatedly, any luck so far? |
I'm now working on other issue. So please wait. |
It seems the enqueue or flush thread has a problem for handling full queue status. |
#1502 fixes the deadlock at startup. |
@repeatedly Sure. Is there a pre version gem I could check against? |
Released |
Thanks @repeatedly ! I've just tested the new version There's no more
|
BTW, do we have a rough idea when |
After merged #1515, I will release new version. |
Sounds good. Thanks for the heads up! |
The bug itself is fixed. Closed. |
During some basic load testing, we found that the upgrade to Fluentd 0.14.13 from 0.12.32 caused buffer overflow errors to be triggered very frequently.
[Error]
[Steps to reproduce]
Both images are built from fluentd-gcp-image. The only difference is the Fluentd version in the Gemfile.
buffer-overflow-test-0-12-32
has Fluentd0.12.32
, and can process the logs successfully with the config settings above.buffer-overflow-test-0-14-13
has Fluentd0.14.13
, and it can't process the logs without a buffer overflow error unless we increase the buffer size to:The text was updated successfully, but these errors were encountered: