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
Check CONTRIBUTING guideline first and here is the list to help us investigate the problem.
Describe the bug
The computation of stage_size in buffer plugin is not thread safe. This is the line which can cause synchronization issues because the after the value staged_bytesize is computed, a chunk could be enqueued by the enqueue thread causing incorrect computation of stage_size
To Reproduce
Expected behavior
Your Environment
Fluentd or td-agent version: 1.4.1, 1.6.3
Operating system: CentOS 7
Kernel version: 3.10.0-1062.4.3.el7.x86_64
If you hit the problem with older fluentd version, try latest version first.
Your Error Log
As the computation of stage_size is not thread safe, it results in BufferOverflowError after a while even though the actual buffer directory has not reached the limit.
Check CONTRIBUTING guideline first and here is the list to help us investigate the problem.
Describe the bug
The computation of stage_size in buffer plugin is not thread safe. This is the line which can cause synchronization issues because the after the value
staged_bytesize
is computed, a chunk could be enqueued by the enqueue thread causing incorrect computation ofstage_size
To Reproduce
Expected behavior
Your Environment
If you hit the problem with older fluentd version, try latest version first.
Your Configuration
Your Error Log
As the computation of stage_size is not thread safe, it results in
BufferOverflowError
after a while even though the actual buffer directory has not reached the limit.Additional context
Here is the snippet of the monitoring agent output and the disk usage of buffer directory
Disk Utilization of buffer directory:
As you can see from the above, the monitoring agent says the
buffer_total_queued_size
is ~400M but the actual utilization on disk is only 93MThe text was updated successfully, but these errors were encountered: