From: Jeff Lucovsky Date: Fri, 11 Feb 2022 13:35:36 +0000 (-0500) Subject: suricata.yaml: Add per-thread stack size setting X-Git-Tag: suricata-5.0.9~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2934798a88b9b9faade7b4dcf0f76e9c41eaeafb;p=thirdparty%2Fsuricata.git suricata.yaml: Add per-thread stack size setting Issue: 4550 (cherry picked from commit d79a317cea900e60166068c4d6703caab7218509) --- diff --git a/suricata.yaml.in b/suricata.yaml.in index 3ce79d5337..26eea87a76 100644 --- a/suricata.yaml.in +++ b/suricata.yaml.in @@ -1493,6 +1493,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, it's 'states' need to be in the # first 2G of the process' memory.