indefinitely logged warning for 1-line file too large for max_line_bytes #16743
Labels
domain: sources
Anything related to the Vector's sources
source: file
Anything `file` source related
type: bug
A code related bug.
A note for the community
Problem
every 10s vector logs:
The file is mostly static. It only ever changes when a proc restarts, which is very infrequently. But vector still logs the same warning.
In this case, the file contains a single line containing more bytes than
max_line_bytes
allows. And since it's mostly static, it appears that vector attempts to re-read the same file every 10s (even though it hasn't changed, vector re-attempts to read contents that it knows are too large).Configuration
Version
0.25.2, 0.28.1
Debug Output
No response
Example Data
No response
Additional Context
It's worth noting that changing
fingerprint.strategy
tochecksum
doesn't helpReferences
No response
The text was updated successfully, but these errors were encountered: