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
and if I infer this correctly, it should mean I have that many elements in my log body?
To split this problem into two sections;
I debugged and looked into the raw logs and could not find any log line that would have caused this error in the first place
Regardless, let's assume we do; this is causing a memory leak. The two pods in question surpasses our buffer sizes and limits over time. Clearly indicating that something is staying in memory every time we hit this error.
Potentially:
At a first glance it seems to me that both exit paths in lines 372 and 378 do not dispose of neither the encoder nor the decoder and I'm fairly sure that at least the encoder part will leak the internal msgpack working buffer in this case
I'm unable to provide my full config as it contains many business specific things and we have some company policies. Like-wise as for my raw logs. Hopefully this is sufficient for now.
If anything, I moved this record_modifier into a plain modifier and that solves all our problems.
(we run on v2.2.x, which is old, but I do assume the logic on this part hasn't changed much)
The text was updated successfully, but these errors were encountered:
Bug Report
We run fluentbit on K8s. On two pods from the 100's, we get this error:
The number of elements exceeds limit 65535
It is happening on this filter:
I've looked a little bit at the code:
fluent-bit/plugins/filter_record_modifier/filter_modifier.c
Line 369 in c2b3d47
and if I infer this correctly, it should mean I have that many elements in my log body?
To split this problem into two sections;
Potentially:
I'm unable to provide my full config as it contains many business specific things and we have some company policies. Like-wise as for my raw logs. Hopefully this is sufficient for now.
If anything, I moved this
record_modifier
into a plainmodifier
and that solves all our problems.(we run on v2.2.x, which is old, but I do assume the logic on this part hasn't changed much)
The text was updated successfully, but these errors were encountered: