-
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
[1.7.x] Fluent-bit crashes with multiple inputs/outputs (SIGSEGV error) on high load #3412
Comments
@jevgenimarenkov would you be able to add your configuration? |
@agup006 configuration added |
I detected the pattern that the interval of error occurrence depends on the number of input/output. With one input and output, the problem occurs every 30 minutes with a high load but with 5 - 6 inputs/outputs, the problem occurs every 3-4 minutes. |
I was also running the same tests with 1.6 and they pass successfully but with 1.7.* fluent bit crashed all the time. |
Reproduced the same problem also in master. |
Added AddressSanitizer report
|
Seems that there is a memory leak in memcpy(cf->st_content + cf->data_size, buf, count) as buf is already freed for some reason when that method is called. |
Thanks for providing the Stack Trace for 1.7.0, would you be able to provide the same with 1.7.4/latest? |
@agup006, added stack trace for the 1.7.4
|
@agup006
|
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
Bug Report
Describe the bug
To Reproduce
Generate backpressure by writing 5000 log lines per second to the file. I was using BQ output plugin though not related to the output plugin. The problem is not reproducible with low volumes of logs.
Expected behavior
Fluentbit does not crash
Screenshots
Your Environment
Additional context
The problem is reproducible only in 1.7.* Version 1.6.* does not have that problem.
Configuration
The text was updated successfully, but these errors were encountered: