From: Jeff Lucovsky Date: Fri, 11 Feb 2022 13:34:12 +0000 (-0500) Subject: doc: Describe per-thread stack size config setting X-Git-Tag: suricata-5.0.9~65 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f183a47f6393c93ce0ada87b7055d228c3f0489;p=thirdparty%2Fsuricata.git doc: Describe per-thread stack size config setting Issue: 4550 This commit documents the new per-thread stack-size setting. Some systems have a small default value that is not suitable for Suricata's multi-threaded architecture and adjustment may be required. (cherry picked from commit 117e11b0ae0c64d8c8b61d3d343957be3b9eb128) --- diff --git a/doc/userguide/configuration/suricata-yaml.rst b/doc/userguide/configuration/suricata-yaml.rst index f5fad52109..fdc261d4aa 100644 --- a/doc/userguide/configuration/suricata-yaml.rst +++ b/doc/userguide/configuration/suricata-yaml.rst @@ -906,6 +906,16 @@ waited for a detection thread. The remaining detection thread can become active. +You can alter the per-thread stack-size if the default provided by +your build system is too small. The default value is provided by +your build system; we suggest setting the value to 8MB if the default +value is too small. + +:: + + stack-size: 8MB + + In the option 'cpu affinity' you can set which CPU's/cores work on which thread. In this option there are several sets of threads. The management-, receive-, worker- and verdict-set. These are fixed names and can not be