Related to that, does num_threads impact the memory used in any way?
I've been trying to calculate how much memory will be consumed on a full queue, which I assume is buffer_chunk_limit x buffer_queue_limit. So for instance, a buffer_chunk_limit of 2MB and a buffer_queue_limit of 128 would consume 256MB on a full queue.
When num_threads (default of 1) is introduced, do they pull from a common queue, or do they have their own queues? If I have 8 threads in the above example, would I max at 256MB still or would it end up being 2048MB?
I'm finding it hard to find documentation around this math when trying to figure out why my instances are consuming 2GB+ of RAM as opposed to just 256MB.
Thanks,
Trevor
On Thursday, September 15, 2016 at 12:41:25 AM UTC-7, Satoshi Tagomori wrote:
Hi Karri,
buffer_chunk_limit is the maximum size when Fluentd writes data at once.
The best configuration depends on the type of output plugins.
If you're using Kafka output plugin or other queueing systems, 500KB - 2MB are good in many cases.
For file output plugin, 32MB or more size make better performance.
Moris.
Hi.
What are some general guidelines how to decide on good value for buffer_chunk_limit?
In my case I'm doing inputs using in_tail, read_lines_limit is at default 1000.
Typical emitted event stream is around 500kB.
--
You received this message because you are subscribed to the Google Groups "Fluentd Google Group" group.