]> 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)
committerVictor Julien <vjulien@oisf.net>
Tue, 22 Feb 2022 19:05:39 +0000 (20:05 +0100)
Issue: 4550

suricata.yaml.in

index 66e7d8b43d9f8549a6286d491f5421ad60fd1a0a..d50e5555c4735383e04c79f67f401e3aa7ff9714 100644 (file)
@@ -1588,6 +1588,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.