]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doc: Describe per-thread stack size config setting
authorJeff Lucovsky <jeff@lucovsky.org>
Fri, 11 Feb 2022 13:34:12 +0000 (08:34 -0500)
committerVictor Julien <vjulien@oisf.net>
Tue, 22 Feb 2022 19:05:39 +0000 (20:05 +0100)
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.

doc/userguide/configuration/suricata-yaml.rst

index 67b839f8d3ba0329cd4574758d0a19cef00b5be1..b3db3875a4f2aca26c4394f51d49c30944642506 100644 (file)
@@ -730,6 +730,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