Skip to content

buffer params explanation #5719

Answered by edsiper
mirisu2 asked this question in Q&A
Jul 14, 2022 · 5 comments · 1 reply

You must be logged in to vote

In the meanwhile we update the docs adding for clarity around different buffers:

Tail, buffers and Chunks

When a file is open to be monitored, Tail plugin allocates a buffer in memory of buffer_chunk_size bytes (defaults to 32kb). If a single record (line in this is case) is longer than buffer_chunk_size it won't fit so that buffer will grow up to buffer_max_size. We keep this value of buffer_chunk_size very small since it fits most of use cases, however if your file aims to have very long lines this needs to be adjusted. Note that if you are monitoring a high number of files, a single buffer exists for each one and that might generate a higher memory usage.

Inside each buffer, multiple l…

Replies: 5 comments 1 reply

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
1 reply
@edsiper

Answer selected by agup006
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants