From 1b2ab0e8d41edfbaae84ca5fc75d58a7f05d548e Mon Sep 17 00:00:00 2001 From: Jeff Lucovsky Date: Fri, 11 Feb 2022 08:35:36 -0500 Subject: [PATCH] suricata.yaml: Add per-thread stack size setting Issue: 4550 (cherry picked from commit d79a317cea900e60166068c4d6703caab7218509) --- suricata.yaml.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/suricata.yaml.in b/suricata.yaml.in index 6dfaf26690..2221fd2bb1 100644 --- a/suricata.yaml.in +++ b/suricata.yaml.in @@ -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. -- 2.47.2