From b7dba4bc31f05bc9e1ab21f1a7f8f8a722831b6f Mon Sep 17 00:00:00 2001 From: Ori Hoch Date: Sun, 10 Sep 2023 17:26:54 +0300 Subject: [PATCH] increase stride db server max stack depth --- modules/openbus/stride_db_server.tf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/openbus/stride_db_server.tf b/modules/openbus/stride_db_server.tf index c08e7e8..768c8b6 100644 --- a/modules/openbus/stride_db_server.tf +++ b/modules/openbus/stride_db_server.tf @@ -68,3 +68,13 @@ EOF ] } } + +## increase stack depth +# nano /etc/security/limits.conf +# postgres - stack 32768 +# * - stack 32768 +# nano /etc/systemd/system/postgresql@14-main.service.d/override.conf +# [Service] +# LimitSTACK=33554432 +# nano /etc/postgresql/14/main/postgresql.conf +# max_stack_depth = 16MB