]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
suricata.yaml: Add per-thread stack size setting
authorJeff Lucovsky <jeff@lucovsky.org>
Fri, 11 Feb 2022 13:35:36 +0000 (08:35 -0500)
committerShivani Bhardwaj <shivanib134@gmail.com>
Tue, 8 Mar 2022 15:04:15 +0000 (20:34 +0530)
Issue: 4550
(cherry picked from commit d79a317cea900e60166068c4d6703caab7218509)

suricata.yaml.in

index 6dfaf26690d6c791dc2969ad55991bc2d0e1ac39..2221fd2bb10d38f4b2a3a7f0e94fad0b609c3d5b 100644 (file)
@@ -1505,6 +1505,14 @@ threading:
   # thread will always be created.
   #
   detect-thread-ratio: 1.0
+  #
+  # By default, the per-thread stack size is left to its default setting. If
+  # the default thread stack size is too small, use the following configuration
+  # setting to change the size. Note that if any thread's stack size cannot be
+  # set to this value, a fatal error occurs.
+  #
+  # Generally, the per-thread stack-size should not exceed 8MB.
+  #stack-size: 8mb
 
 # Luajit has a strange memory requirement, its 'states' need to be in the
 # first 2G of the process' memory.