From 94b5f982c8dd98a39e03f1e0324dd24497f96148 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 20 May 2022 10:38:12 +0100 Subject: [PATCH] [Doc] queue.max_bytes for all queues (#14128) (#14140) * bring back the details of PQ size checking (cherry picked from commit 205cf43213ba27946e83cae71264f751cb30358d) Co-authored-by: kaisecheng <69120390+kaisecheng@users.noreply.github.com> --- docs/static/persistent-queues.asciidoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/static/persistent-queues.asciidoc b/docs/static/persistent-queues.asciidoc index b2b31bef6..6890fc045 100644 --- a/docs/static/persistent-queues.asciidoc +++ b/docs/static/persistent-queues.asciidoc @@ -56,6 +56,10 @@ queue will be sized at the value of `queue.max_bytes` specified in `logstash.yml`. The default is 1024mb (1gb). + +NOTE: Be sure that your disk has sufficient capacity to handle the cumulative total of `queue.max_bytes` across all persistent queues. +The total of `queue.max_bytes` for _all_ queues should be +lower than the capacity of your disk. ++ TIP: If you are using persistent queues to protect against data loss, but don't require much buffering, you can set `queue.max_bytes` to a smaller value. A smaller value produces smaller queues and improves queue performance.